Verifying The Dns Client Configuration; Dns Client Example Configuration; Default Settings - 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
show hosts
Example:
switch(config)-vrf# show hosts
Step 7
copy running-config startup-config
Example:
switch(config-vrf)# copy running-config
startup-config
The following example shows how to configure a default domain name and enable DNS lookup within
a VRF:
switch# config t
switch(config)# vrf context Red
switch(config-vrf)# ip domain-name cisco.com 192.0.2.1 use-vrf management
switch(config-vrf)# ip domain-lookup
switch(config-vrf)# copy running-config startup-config

Verifying the DNS Client Configuration

To verify the DNS client configuration, use the following commands:
Command
show hosts

DNS Client Example Configuration

This example establishes a domain list with several alternate domain names:
ip domain list csi.com
ip domain list telecomprog.edu
ip domain list merit.edu
This example configures the host name-to-address mapping process and specifies IP DNS-based
translation, The example also configures the addresses of the name servers and the default domain name.
ip domain lookup
ip name-server 192.168.1.111 192.168.1.2
ip domain name cisco.com

Default Settings

Table 4-1
OL-20002-02
lists the default settings for DNS Client parameters.
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
Verifying the DNS Client Configuration
Purpose
(Optional) Displays information about DNS.
(Optional) Saves this configuration change.
Purpose
Displays information about DNS.
4-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents