Cisco Nexus 5000 Series Configuration Manual page 160

System management configuration guide
Hide thumbs Also See for Nexus 5000 Series:
Table of Contents

Advertisement

Configuring DNS Clients
Step 6
Step 7
Step 8
Step 9
Step 10
This 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 5000 Series NX-OS System Management Configuration Guide, Release 5.2(1)N1(1)
142
Command or Action
ip name-server server-address1
[server-address2... server-address6]
[use-vrf vrf-name]
Example:
switch(config)# ip name-server
192.0.2.22
ip domain-lookup
Example:
switch(config)# ip domain-lookup
show hosts
Example:
switch(config)# show hosts
exit
Example:
switch(config)# exit
switch#
copy running-config startup-config
Example:
switch# copy running-config
startup-config
switch#
Purpose
Cisco NX-OS uses each entry in the domain list to append
that domain name to any host name that does not contain
a complete domain name before starting a domain-name
lookup. Cisco NX-OS continues this 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) Enables DNS-based address translation.
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

Advertisement

Table of Contents
loading

Table of Contents