Operation Manual

IP Services Commands
IP Services Commands
8 – 107
set ip dns
Enables or disables DNS on an MX.
Syntax
set ip dns {enable | disable}
Defaults
DNS is disabled by default.
Access
Enabled.
History
Introduced in MSS Version 1.0.
Examples
The following command enables DNS on an MX:
MX# set ip dns enable
Start DNS Client
See Also
clear ip dns domain on page 8-94
clear ip dns server on page 8-94
set ip dns domain on page 8-107
set ip dns server on page 8-108
show ip dns on page 8-136
set ip dns domain
Configures a default domain name for DNS queries. The MX appends the default domain name to
domain names or hostnames you enter in commands.
Syntax
set ip dns domain name
Defaults
None.
Access
Enabled.
History
Introduced in MSS Version 1.0.
Usage
To override the default domain name when entering a hostname in a CLI command, enter
a period at the end of the hostname. For example, if the default domain name is example.com,
enter chris. if the fully qualified hostname is chris and not chris.example.com.
Aliases take precedence over DNS. When you enter a hostname, MSS checks for an alias with that
name first, before using DNS to resolve the name.
Examples
The following command configures the default domain name example.com:
MX# set ip dns domain example.com
Domain name changed
See Also
clear ip dns domain on page 8-94
clear ip dns server on page 8-94
set ip dns on page 8-107
enable Enables DNS.
disable Disables DNS.
name Domain name of between 1 and 64 alphanumeric characters with no spaces (for example,
example.org).