DefaultParameter
EnabledDNS client
Configuring DNS Clients
You can configure the DNS client to use a DNS server on your network.
Before You Begin
•
Ensure that you have a domain name server on your network.
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configuration terminal
Step 1
Specifies a configurable virtual and routing (VRF) name.switch(config)# vrf context
managment
Step 2
Defines up to six static hostname-to-address mappings in the
host name cache.
switch(config)# ip host name
address1 [address2... address6]
Step 3
(Optional)
Defines the default domain name server that Cisco NX-OS
uses to complete unqualified hostnames. You can optionally
switch(config)# ip domain name
name [use-vrf vrf-name]
Step 4
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.
(Optional)
Defines additional domain name servers that Cisco NX-OS
can use to complete unqualified hostnames. You can optionally
switch(config)# ip domain-list
name [use-vrf vrf-name]
Step 5
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 hostname 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.
(Optional)
Defines up to six name servers. The address can be either an
IPv4 address or an IPv6 address.
switch(config)# ip name-server
server-address1
[server-address2...
Step 6
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 6.x
115
Configuring DNS
Configuring DNS Clients