Displaying Dns Host Information - Cisco MDS 9000 series Configuration Manual

Nx-os ip services multilayer switches
Hide thumbs Also See for MDS 9000 series:
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
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
Example 5-14 Displays Configured Host Details
switch# show hosts
Default domain is cisco.com
Domain list: ucsc.edu harvard.edu yale.edu stanford.edu
Name/address lookup uses domain service
Name servers are 15.1.0.1 15.2.0.0
Cisco MDS 9000 Family NX-OS IP Services Configuration Guide
5-28
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-19525-01,Cisco MDS NX-OS Release 4.2(1)
Chapter 5
Configuring IP Services
5-14).

Advertisement

Table of Contents
loading

Table of Contents