Configuring Virtualization - Cisco Nexus 7000 Series Configuration Manual

Nx-os unicast routing configuration
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Chapter 4
Configuring DNS
S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m .
Command
Step 6
ip domain-lookup
Example:
switch(config)# ip domain-lookup
Step 7
show hosts
Example:
switch(config)# show hosts
Step 8
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
The following example shows how to configure a default domain name and enable DNS lookup:
switch# config t
switch(config)# ip domain-name cisco.com 192.0.2.1 use-vrf management
switch(config)# ip domain-lookup
switch(config# copy running-config startup-config

Configuring Virtualization

You can configure a DNS client within a VRF. If you do not enter vrf configuration mode, your DNS
client configuration applies to the default VRF.
You can optionally configure a DNS client to use a specified VRF other than the VRF under which you
configured the DNS client as a backup VRF. For example, you can configure a DNS client in the Red
VRF but use the Blue VRF to communicate with the DNS server if the server cannot be reached through
the Red VRF.
BEFORE YOU BEGIN
Ensure that you have a domain name server on your network.
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
9.
10.
11.
12.
13.
14.
15.
16.
OL-20002-02
config t
vrf context vrf-name
ip domain-name name [ se-vrf vrf-name]
ip domain-list name [use-vrf vrf-name]
ip name-server server-address1 [server-address2... server-address6] [use-vrf vrf-name]
ip domain lookup
show hosts
copy running-config startup-config
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
Purpose
(Optional) Enables DNS-based address translation.
Enabled by default.
(Optional) Displays information about DNS.
(Optional) Saves this configuration change.
Configuring DNS Clients
4-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents