Send document comments to nexus7k-docfeedback@cisco.com.
4-7
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 4      Configuring DNS
Verifying the DNS Client Configuration
The following example shows how to configure a default domain name and enable DNS lookup within 
a VRF:
switch# config t
switch(config)# vrf context Red
switch(config-vrf)# ip domain-name cisco.com 192.0.2.1 use-vrf management
switch(config-vrf)# ip domain-lookup
switch(config-vrf)# copy running-config startup-config
Verifying the DNS Client Configuration
To verify the DNS client configuration, use the following commands:
DNS Client Example Configuration 
This example establishes a domain list with several alternate domain names:
ip domain list csi.com
ip domain list telecomprog.edu
ip domain list merit.edu
This example configures the host name-to-address mapping process and specifies IP DNS-based 
translation, The example also configures the addresses of the name servers and the default domain name. 
ip domain lookup
ip name-server 192.168.1.111 192.168.1.2
ip domain name cisco.com
Default Settings
Table 4-1 lists the default settings for DNS Client parameters.
Step 6
show hosts
Example:
switch(config)-vrf# show hosts
(Optional) Displays information about DNS.
Step 7
copy running-config startup-config
Example:
switch(config-vrf)# copy running-config 
startup-config
(Optional) Saves this configuration change.
Command Purpose
Command Purpose
show hosts
Displays information about DNS.