Displaying Dns Host Information - Cisco AP776A - Nexus Converged Network Switch 5020 Configuration Manual

Cisco mds 9000 family cli configuration guide - release 4.x (ol-18084-01, february 2009)
Hide thumbs Also See for AP776A - Nexus Converged Network Switch 5020:
Table of Contents

Advertisement

DNS Server Configuration
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
When accessing a Telnet host, if the DNS server is not reachable (for any reason) the switch login prompt
Note
may take a longer time to appear. If so, verify that the DNS server is accurately configured and reachable.
To configure a DNS server, follow these steps:
Command
Step 1
switch# config t
switch(config)#
Step 2
switch(config)# ip domain-lookup
switch(config)# no ip domain-lookup
Step 3
switch(config)# ip domain-name
cisco.com
switch(config)# no ip domain-name
cisco.com
Step 4
switch(config)# ip domain-list
harvard.edu
switch(config)# ip domain-list
stanford.edu
switch(config)# ip domain-list
yale.edu
switch(config)# no ip domain-list
Note
Step 5
switch(config)# ip name-server
15.1.0.1 2001:0db8:800:200c::417a
switch(config)# no ip name-server
Alternatively, you can configure the DNS entry using the switch names (instead of IP addresses). The
Note
configured switch name automatically looks up the corresponding IP address.

Displaying DNS Host Information

Use the show hosts command to display the DNS configuration (see
Cisco MDS 9000 Family CLI Configuration Guide
44-28
The DNS server is not reachable because external reasons (reasons beyond our control).
If you have not configured a domain list, the domain name that you specified with the ip
domain-name global configuration command is used. If you configured a domain list, the
default domain name is not used. The ip domain-list command is similar to the ip
domain-name command, except that with the ip domain-list command you can define a list of
domains, each to be tried in turn.
Purpose
Enters configuration mode.
Enables the IP Domain Naming System (DNS)-based
host name-to-address translation.
Disables (default) the IP DNS-based host
name-to-address translation and reverts to the factory
default.
Enables the default domain name feature used to
complete unqualified host names. Any IP host name that
does not contain a domain name (that is, any name
without a dot) will have the dot and cisco.com appended
to it before being added to the host table.
Disables (default) the domain name.
Defines a filter of default domain names to complete
unqualified host names by using the ip domain-list
global configuration command. You can define up to 10
domain names in this filter. To delete a name from a
filter, use the no form of this command.
Deletes the defined filter and reverts to factory default.
No domains are configured by default.
Specifies the first address (15.1.0.1) as the primary
server and the second address
(2001:0db8:800:200c::417a) as the secondary server.
You can configure a maximum of six servers.
Deletes the configured server(s) and reverts to factory
default. No server is configured by default.
Example
OL-18084-01, Cisco MDS NX-OS Release 4.x
Chapter 44
Configuring IP Services
44-14).

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents