dns command
Use this command to view and set the DNS configuration of the IMM2.
Note
In a Flex System, DNS settings cannot be modified on the IMM2. 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 [<em className="ph i">options</em>]
option:
-state <em className="ph i">state</em>
-ddns <em className="ph i">state</em>
-i1 <em className="ph i">first_ipv4_ip_address</em>
-i2 <em className="ph i">second_ipv4_ip_address</em>
-i3 <em className="ph i">third_ipv4_ip_address</em>
-i61 <em className="ph i">first_ipv6_ip_address</em>
-i62 <em className="ph i">second_ipv6_ip_address</em>
-i63 <em className="ph i">third_ipv6_ip_address</em>
-p <em className="ph i">priority</em>
Note
The following example shows an IMM2 configuration where DNS is enabled.
Example:
system> dns
-state : enabled
-i1 : 192.168.70.202
-i2 : 192.168.70.208
-i3 : 192.168.70.212
-i61 : fe80::21a:64ff:fee6:4d5
-i62 : fe80::21a:64ff:fee6:4d6
-i63 : fe80::21a:64ff:fee6:4d7
-ddns : enabled
-ddn : ibm.com
-ddncur : ibm.com
-dnsrc : dhcp
-p : ipv6
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 feedback