EasyManua.ls Logo

Cisco Nexus 7000 Series - Page 96

Cisco Nexus 7000 Series
536 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Send document comments to nexus7k-docfeedback@cisco.com.
4-6
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 4 Configuring DNS
Configuring DNS Clients
DETAILED STEPS
Command Purpose
Step 1
config t
Example:
switch# config t
switch(config)#
Enters configuration mode.
Step 1
vrf context vrf-name
Example:
switch(config)# vrf context Red
switch(config-vrf)#
Creates a VRF and enters VRF configuration mode.
Step 2
ip domain-name
name
[use-vrf
vrf-name
]
Example:
switch(config)# ip domain-name
myserver.com
(Optional) Defines the default domain name server that
Cisco NX-OS uses to complete unqualified host
names. 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 that you configured this
domain name under.
Cisco NX-OS appends the default domain name to any
host name that does not contain a complete domain
name before starting a domain-name lookup.
Step 3
ip domain-list
name
[use-vrf
vrf-name
]
Example:
switch(config)# ip domain-list
mycompany.com
(Optional) Defines additional domain name servers
that Cisco NX-OS can use to complete unqualified
host names. 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 that you configured
this domain name under.
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.
Step 4
ip name-server
address1
[
address2...
address6
] [use-vrf
vrf-name
]
Example:
switch(config)# ip name-server
192.0.2.22
(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.
Step 5
ip domain-lookup
Example:
switch(config-vrf)# ip domain-lookup
(Optional) Enables DNS-based address translation for
this VRF. Enabled by default.

Table of Contents

Other manuals for Cisco Nexus 7000 Series

Related product manuals