PurposeCommand or Action
You can optionally define a VRF that Cisco NX-OS uses to
reach this name server if it cannot be reached in the VRF that
you configured this name server under.
server-address6] [use-vrf
vrf-name]
(Optional)
Enables DNS-based address translation. This feature is enabled
by default.
switch(config)# ip
domain-lookup
Step 7
(Optional)
Displays information about DNS.
switch(config)# show hosts
Step 8
Exits configuration mode and returns to EXEC mode.switch(config)# exit
Step 9
(Optional)
Copies the running configuration to the startup configuration.
switch# copy running-config
startup-config
Step 10
The following example shows how to configure a default domain name and enable DNS lookup:
switch# config t
switch(config)# vrf context management
switch(config)# ip domain-name mycompany.com
switch(config)# ip name-server 172.68.0.10
switch(config)# ip domain-lookup
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
148 OL-31641-01
Configuring DNS
Configuring DNS Clients