ip domain-list
Defines a list of domain names.
Syntax: [no] ip domain-list name
name
Domain name to be added to the list.
Description: If the initial domain name lookup (specified by the ip domain-name command) does not result in a match, IPriori will search the entries in the domain list. Domain lists are searched in the order in which they are defined. Each listing requires a separate command line. The list can contain up to 32 entries.
Use the ip domain-list command to define a list of domain names to be searched if the initial domain name resolution does not result in a match.
Use the no ip domain-list command to delete a domain name from the domain list.
Factory Default: No domain names defined.
Command Mode: Configuration.
Example 1: In the following example, the ip domain-list command adds two domain names to the list of domain names and the show hosts command displays the new setting:
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#ip domain-list avici.com
router(config)#ip domain-list avici.webhost.com
router(config)#end
router#show hosts
Default domain is avici.com
Domain list: avici.com, avici.webhost.com
Name/address lookup uses domain service
Name servers are 10.1.1.230, 10.5.1.240
Host Flags Age Type Address(es)
testbed24 (perm, OK) ** IP 10.1.2.24
swuser1 (perm, OK) ** IP 10.5.1.9
Example 2: You can also use the show running-config command to display the new setting:
router#show running-config
.
.
.
ip domain-list avici.com
ip domain-list avici.webhost.com
ip host testbed24 10.1.2.24
ip host swuser1 10.5.1.9
ip domain-name avici.com
ip name-server 10.1.1.230
ip name-server 10.5.1.240
.
.
.
Related Commands: ip domain-name
show hosts
show running-config
Copyright © 2004
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: IP_Commands.fm
HTML File Name: IP_Commands4.html
Last Updated: 05/10/04 at 16:34:20