Previous page Next page

ip name-server

Adds a DNS server to the list of servers used by CNA to resolve host names for an interface.

Syntax
ip name-server <ip-address>
 
no ip name-server [<ip-address>]
 
Arguments
Prerequisites

Must be in interface configuration mode (config), which requires privileged-level access.

Occurrence

May be used multiple times on each interface (more than one server can be specified for an interface).

Default

None.

Description

The no form of the command with an IP address as an argument removes the specified DNS server from the list.

The no form of the command with no argument deletes the entire list for the interface.

See the ip domain-lookup command.


Previous page Next page