CLI Reference Guide 5. VoIP Commands
Version 6.4 71 January 2012
5.2.6 ip name-server
This command defines the DNS relay (remote) server’s address on the interface.
Syntax:
ip name-server <first ip address> [second ip address]
The command’s syntax format is described below:
Arguments Description
<first ip address>
Specifies the primary DNS server address. Specifies a valid
IPv4 address. IP addresses should be expressed in dotted
decimal notation (e.g., 10.1.2.3).
Specifies the secondary DNS server address. This field is
not required when specifying a single IP address.
Specifies a valid IPv4 address. IP addresses should be
expressed in dotted decimal notation (e.g., 10.1.2.3).
Defaults
NA
Command Modes
Enable
Examples:
The following example defines DNS relay servers 10.4.1.1 and 10.4.1.2 on interface VLAN
1.
(config-voip)# interface vlan 3
(conf-if-vlan 3)# ip name-server 10.4.1.1 10.4.1.2