ip name-server

To set the Domain Name Server (DNS) servers for use during a DNS query, use the ip name-server command in Configuration mode. You can configure one to three DNS servers. To disable this function, use the no form of this command.

Note Using the no form of this command removes all the name servers from the configuration. Using the no form of this command and one of the IP names removes only that name server.

ip name-server ip-address [ip-address*]

Syntax Description

ip name-server

The command to configure IP addresses of name server(s) to use.

ip-address

Address of a name server.

ip-address*

(Optional) IP addresses of additional name servers.

Note You can configure a maximum of three name servers.

Defaults

No default behavior or values.

Command Modes

Configuration

Usage Guidelines

The first name server that is added with the ip name-server command occupies the first position and the system uses that server first to resolve the IP addresses.

You can add name servers to the system one at a time or all at once, until you reach the maximum (3). If you already configured the system with three name servers, you must remove at least one server to add additional name servers.

To place a name server in the first position so that the subsystem uses it first, you must remove all name servers with the no form of this command before you proceed.

Examples

/admin(config)# ip name-server 209.165.201.1

 

 

To verify that CDA processes are running, use the

'show application status cda' command.

/admin(config)#

 

You can choose not to restart the Cisco CDA server; nevertheless, the changes will take effect.

Related Commands

Command

Description

ip domain-name

Defines a default domain name that the server uses to complete hostnames.