Verifying the DNS Client Configuration
Step 3
Step 4
Step 5
Step 6
Step 7
Verifying the DNS Client Configuration
To display the DNS client configuration, perform the following task:
Command
show hosts
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 6.x
6
Command or Action
switch(config-vrf)# ip
domain-name name [use-vrf
vrf-name]
switch(config-vrf)# ip
domain-list name [use-vrf
vrf-name]
switch(config-vrf)# ip
name-server address1
[address2... address6] [use-vrf
vrf-name]
switch(config-vrf)# show hosts
switch(config)# copy
running-config startup-config
Purpose
(Optional)
Defines the default domain name server that Cisco NX-OS uses
to complete unqualified hostnames. You can optionally define a
VRF that Cisco NX-OS uses to resolve this domain name server
if it cannot be resolved in the VRF under which you configured
this domain name.
Cisco NX-OS appends the default domain name to any hostname
that does not contain a complete domain name before starting a
domain-name lookup.
(Optional)
Defines additional domain name servers that Cisco NX-OS can
use to complete unqualified hostnames. You can optionally define
a VRF that Cisco NX-OS uses to resolve this domain name server
if it cannot be resolved in the VRF under which you configured
this domain name.
Cisco NX-OS uses each entry in the domain list to append that
domain name to any hostname that does not contain a complete
domain name before starting a domain-name lookup. Cisco
NX-OS continues this process for each entry in the domain list
until it finds a match.
(Optional)
Defines up to six name servers. The address can be either an IPv4
address or an IPv6 address.
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)
Displays information about DNS.
(Optional)
Saves the change persistently through reboots and restarts by
copying the running configuration to the startup configuration.
Purpose
Displays information about DNS.
Configuring DNS
OL-25777-03