dns command
Use this command to view and set the DNS configuration of the IMM.
Note
In a Flex System, DNS settings cannot be modified on the IMM. DNS settings are managed by the CMM.
Running the dns command with no options displays all DNS configuration information. The following table shows the arguments for the options.
Option | Description | Values |
---|---|---|
-state | DNS state | on, off |
-ddns | DDNS state | enabled, disabled |
-i1 | Primary IPv4 DNS server IP address | IP address in dotted decimal IP address format. |
-i2 | Secondary IPv4 DNS IP address | IP address in dotted decimal IP address format. |
-i3 | Tertiary IPv4 DNS server IP address | IP address in dotted decimal IP address format. |
-i61 | Primary IPv6 DNS server IP address | IP address in IPv6 format. |
-i62 | Secondary IPv6 DNS IP address | IP address in IPv6 format. |
-i63 | Tertiary IPv6 DNS server IP address | IP address in IPv6 format. |
-p | IPv4/IPv6 priority | ipv4, ipv6 |
Syntax:
dns [options]
option:
-state state
-ddns state
-i1 first_ipv4_ip_address
-i2 second_ipv4_ip_address
-i3 third_ipv4_ip_address
-i61 first_ipv6_ip_address
-i62 second_ipv6_ip_address
-i63 third_ipv6_ip_address
-p priority
Note
The following example shows an IMM configuration where DNS is disabled.
Example:
system> dns
-state : disabled
-i1 : 0.0.0.0
-i2 : 0.0.0.0
-i3 : 0.0.0.0
-i61 : ::
-i62 : ::
-i63 : ::
-ddns : enabled
-dnsrc : DHCP
-ddn :
-ddncur : labs.lenovo.com
-p : ipv6
-dscvry : enabled
system>
The following table describes the options used in the previous example.Option | Description |
---|---|
-state | State of DNS (on or off) |
-i1 | Primary IPv4 DNS server IP address |
-i2 | Secondary IPv4 DNS IP address |
-i3 | Tertiary IPv4 DNS server IP address |
-i61 | Primary IPv6 DNS server IP address |
-i62 | Secondary IPv6 DNS IP address |
-i63 | Tertiary IPv6 DNS server IP address |
-ddns | State of DDNS (enabled or disabled) |
-dnsrc | Preferred DDNS domain name (dhcp or manual) |
-ddn | Manually specified DDN |
-ddncur | Current DDN (read only) |
-p | Preferred DNS servers (ipv4 or ipv6) |
Give documentation feedback