Cisco Catalyst 4500 Series Configuration Manual page 394

Ios software configuration guide isco ios xe 3.9.0e and ios 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

ip name-server
ip name-server
To configure the IP address of the domain name server (DNS), use the ip name-server command. To
delete the name server use the no form of this command.
Syntax Description
server-address1
[server-address2.
..ip-address6]
Command Default
No name server addresses are specified.
Command Modes
Global configuration mode
Command History
Release
12.2 (31)SG
Usage Guidelines
Separate each server address with a space. The first server specified is the primary server. The switch
sends DNS queries to the primary server first. If that query fails, the backup servers are queried.
For the Application Visibility Control (AVC) with Domain Name System as an Authoritative Source
(DNS-AS) feature (AVC with DNS-AS), ensure that at least the first two IP addresses in the sequence
are IPv4 addresses, because the AVC with DNS-AS feature will use only these. See the example below,
here the first two addresses are IPv4 (192.0.2.1 and 192.0.2.2), the third one (2001:DB8::1) is an IPv6
address. AVC with DNS-AS will use the first two:
Switch(config)# ip name-server 192.0.2.1 192.0.2.2 2001:DB8::1
Enter the show ip name-server command to display all the name server IP addresses that have been
maintained.
Examples
The following example shows how to specify IPv4 hosts 172.16.1.111 and 172.16.1.2 as the name
servers:
Switch(config)# ip name-server 192.0.2.1 192.0.2.2
The following example shows how to specify IPv6 hosts 3FFE:C00::250:8BFF:FEE8:F800 and
2001:0DB8::3 as the name servers:
Switch(config)# ip name-server 3FFE:C00::250:8BFF:FEE8:F800 2001:0DB8::3
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release XE 3.9.xE and 15.2(5)Ex
2-354
ip name-server server-address1 [server-address2...server-address6]
no name-server server-address1 [server-address2...server-address6]
IPv4 or IPv6 addresses of a name server to use for name and address resolution.
(Optional) IP addresses of additional name servers (a maximum of six name
servers)
Modification
This command was introduced on the Catalyst 4500 series switches.
Chapter 2

Advertisement

Table of Contents
loading

Table of Contents