Configuring DNS Clients
Step 7
Step 8
Step 9
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
Command or Action
server-address6] [use-vrf
vrf-name]
switch(config)# ip
domain-lookup
switch(config)# show hosts
switch(config)# exit
switch# copy running-config
startup-config
Purpose
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.
(Optional)
Enables DNS-based address translation. This feature is enabled
by default.
(Optional)
Displays information about DNS.
Exits configuration mode and returns to EXEC mode.
(Optional)
Copies the running configuration to the startup configuration.
Configuring DNS
OL-31641-01