dns command

This command configures and displays the management-module DNS settings.

Table 1. dns command
Function What it does Command Valid targets
Display DNS configuration of management module Displays the current DNS configuration of the management module. Possible return values are:
  • enabled
  • disabled
  • -i1 first ip_address
  • -i2 second ip_address
  • -i3 third ip_address
dns
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

DNS - enable / disable Enables or disables the management-module DNS configuration. dns -state

where state is on or off.

Command use restricted (see Commands and user authority).

                           -T system:mm[x]
                        

where x is the primary management-module bay number.

DNS first IP address - set Checks syntax and sets the first IP address. dns -i1 ip_address

where ip_address is the first IP address.

Command use restricted (see Commands and user authority).

                           -T system:mm[x]
                        

where x is the primary management-module bay number.

DNS second IP address - set Checks syntax and sets the second IP address. dns -i2 ip_address

where ip_address is the second IP address.

Command use restricted (see Commands and user authority).

                           -T system:mm[x]
                        

where x is the primary management-module bay number.

DNS third IP address - set Checks syntax and sets the third IP address. dns -i3 ip_address

where ip_address is the third IP address.

Command use restricted (see Commands and user authority).

                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Example: To set the first IP address of the management-module DNS server to 192.168.70.29 and enable DNS on the primary management module, while management module 1 is set as the persistent command environment, at the system:mm[1]> prompt, type
                  dns -i1 192.168.70.29 -on
               
To display the DNS status of the primary management module, while management module 1 is set as the persistent command environment, at the system:mm[1]> prompt, type
                  dns
               

The following example shows the information that is returned from these two commands:

               system:mm[1]> dns -i1 192.168.70.29 -on
Changes to the network settings will take effect after the next reset of the MM.
system:mm[1]> dns
Enabled
-i1 192.168.70.29
-i2 0.0.0.0
-i3 0.0.0.0
system:mm[1]>