Domain Name Service Commands
4-407
4
Default Setting
None
Command Mode
Global Configuration
Example
Related Commands
ip domain-list (4-407)
ip name-server (4-408)
ip domain-lookup (4-409)
This command defines a list of domain names that can be appended to incomplete
host names (i.e., host names passed from a client that are not formatted with dotted
notation). Use the
no
form to remove a name from this list.
Syntax
[
no
]
ip domain-list
name
name
- Name of the host. Do not include the initial dot that separates the
host name from the domain name. (Range: 1-64 characters)
Default Setting
None
Command Mode
Global Configuration
Command Usage
• Domain names are added to the end of the list one at a time.
• When an incomplete host name is received by the DNS service on this switch,
it will work through the domain list, appending each domain name in the list to
the host name, and checking with the specified name servers for a match.
• If there is no domain list, the domain name specified with the
ip domain-name
command is used. If there is a domain list, the default domain name is not used.
Console(config)#ip domain-name sample.com
Console(config)#end
Console#show dns
Domain Lookup Status:
DNS disabled
Default Domain Name:
.sample.com
Domain Name List:
Name Server List:
Console#
Summary of Contents for 6152PL2 FICHE
Page 2: ......
Page 6: ...vi ...
Page 8: ...viii ...
Page 32: ...Tables xxxii ...
Page 38: ...Figures xxxviii ...
Page 56: ...Initial Configuration 2 10 2 ...
Page 378: ...Configuring the Switch 3 322 3 ...
Page 817: ......