dns command
This command configures and displays the CMM DNS settings.
If command syntax is not correctly entered, or if a command fails to run, an error message is returned. See Common errors for a list of error messages that apply to all commands or dns command errors for a list of error messages that are specific to the dns command.
Function | What it does | Command | Target (see paths in Command targets) |
---|---|---|---|
Display DNS configuration of CMM | Displays the current DNS configuration of the CMM. Possible return values are:
| dns | Primary CMM:
|
DNS - enable | Enables the CMM DNS configuration. Note
| dns -on This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
DNS - disable | Disables the CMM DNS configuration. Note
| dns -off This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
Dynamic DNS - enable / disable | Enables or disables dynamic DNS for the CMM. | dns -ddns state where state is enabled or disabled . This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
DNS first IPv4 IP address - set | Sets the first IPv4 IP address. Note
| dns -i1 ip_address where ip_address is the first IP address in dotted decimal IP address format. This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
DNS second IPv4 IP address - set | Sets the second IPv4 IP address. Note
| dns -i2 ip_address where ip_address is the second IP address in dotted decimal IP address format. This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
DNS third IPv4 IP address - set | Sets the third IPv4 IP address. Note
| dns -i3 ip_address where ip_address is the third IP address in dotted decimal IP address format. This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
DNS first IPv6 IP address - set | Sets the first IPv6 IP address. Note
| dns -i61 ip_address where ip_address is the first IP address in IPv6 format. This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
DNS second IPv6 IP address - set | Sets the second IPv6 IP address. Note
| dns -i62 ip_address where ip_address is the second IP address in IPv6 format. This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
DNS third IPv6 IP address - set | Sets the third IPv6 IP address. Note
| dns -i63 ip_address where ip_address is the third IP address in IPv6 format. This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
DNS server priority - set | Sets the DNS server priority for the CMM to IPv4 or IPv6.. | dns -p priority where priority is ipv4 or ipv6 . This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
dns -i1 192.168.70.29 -on
dns
The following example shows the information that is returned from these two commands:
system:mm[1]> dns -i1 192.168.70.29 -on
system:mm[1]> dns
Enabled
-i1 192.168.70.29
-i2 0.0.0.0
-i3 0.0.0.0
system:mm[1]>
dns
The following example shows the information that is returned from this command:
system:mm[1]> dns
Enabled
Enabled
-i1 192.168.70.230
-i2 0.0.0.0
-i3 0.0.0.0
-i61 2002:1013::211:25ff:fec3:227d
-i62 ::
-i63 ::
-ddns disabled
-p ipv4
system:mm[1]>