Command Line Reference Guide
IPv4 Routing | 619
ip domain-list
c e s
Configure names to complete unqualified host names.
Syntax
ip domain-list name
To remove the name, use the no ip domain-list name command.
Parameters
Defaults
Disabled.
Command Modes
CONFIGURATION
Command
History
Usage
Information
Configure the ip domain-list command up to 6 times to configure a list of possible domain names.
If both the ip domain-name and ip domain-list commands are configured, the software will try to
resolve the name using the ip domain-name command. If the name is not resolved, the software goes
through the list of names configured with the ip domain-list command to find a match.
Use the following steps to enable dynamic resolution of hosts:
• specify a domain name server with the ip name-server command.
• enable DNS with the ip domain-lookup command.
To view current bindings, use the show hosts command. To view DNS related configuration, use the
show running-config resolve command.
Related
Commands
ip domain-lookup
c e s
Enable dynamic host-name to address resolution (that is, DNS).
Syntax
ip domain-lookup
To disable DNS lookup, use the no ip domain-lookup.
Defaults
Disabled.
Command Mode
CONFIGURATION
Command
History
name
Enter a domain name to be used to complete unqualified names (that is, incomplete domain
names that cannot be resolved).
Version 8.1.1.0 Introduced on E-Series ExaScale
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
ip domain-name Specify a DNS server.
Version 8.1.1.0 Introduced on E-Series ExaScale
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series










