Configures the DNS IP address.
Config mode
This command is available only to users with the admin role.
A maximum of six DNS domain names is supported.
A maximum of three DNS name servers is supported.
The no ip dns domain-name
command removes the specified DNS domain name.
The no ip dns name-server
command removes the specified DNS name server.
The following example configures IP DNS domain name.
device(config)# ip dns domain-name extreme.com device(config)# ip dns domain-name corp.extreme.com device(config)# do sh running-config ip dns ip dns domain-name corp.extremenetworks.com ip dns domain-name extremenetworks.com ip dns name-server 10.6.16.32 ip dns name-server 10.6.24.30 ip dns name-server 1111:2222::1
The following example configures IP DNS name server.
device(config)# ip dns name-server 10.6.16.32 device(config)# ip dns name-server 1111:2222::1 device# sh running-config ip dns ip dns name-server 10.6.16.32 ip dns name-server 1111:2222::1