IPv4 Routing | 523
Resolution of Host Names
Domain Name Service (DNS) maps host names to IP addresses. This feature simplifies such commands as
Telnet and FTP by allowing you to enter a name instead of an IP address.
Dynamic resolution of host names is disabled by default. Unless the feature is enabled, the system resolves
only host names entered into the host table with the
ip host command.
• Enable dynamic resolution of host names
• Specify local system domain and a list of domains
• DNS with traceroute
Enable dynamic resolution of host names
By default, dynamic resolution of host names (DNS) is disabled.
To enable DNS, use the following commands in the CONFIGURATION mode:
To view current bindings, use the
show hosts command.
FTOS>show host
Default domain is force10networks.com
Name/address lookup uses domain service
Name servers are not set
Host Flags TTL Type Address
-------- ----- ---- ---- -------
ks (perm, OK) - IP 2.2.2.2
patch1 (perm, OK) - IP 192.68.69.2
tomm-3 (perm, OK) - IP 192.68.99.2
gxr (perm, OK) - IP 192.71.18.2
f00-3 (perm, OK) - IP 192.71.23.1
FTOS>
To view the current configuration, use the show running-config resolve command.
Command Syntax Command Mode Purpose
ip domain-lookup
CONFIGURATION Enable dynamic resolution of host names.
ip name-server ip-address
[ip-address2 ... ip-address6]
CONFIGURATION Specify up to 6 name servers. The order you entered the
servers determines the order of their use.