23
ip domain-list
Domain Name Service
Commands
These commands are used to configure Domain Naming System (DNS) services.
Entries can be manually configured in the DNS domain name to IP address
mapping table, default domain names configured, or one or more name servers
specified to use for domain name to address translation.
Note that domain name services will not be enabled until at least one name server
is specified with the
ip name-server
the
ip domain-lookup
command.
Table 112: Address Table Commands
Command
Function
ip domain-list
Defines a list of default domain names for incomplete host
names
ip domain-lookup
Enables DNS-based host name-to-address translation
ip domain-name
Defines a default domain name for incomplete host names
ip host
Creates a static IPv4 host name-to-address mapping
ip name-server
Specifies the address of one or more name servers to use for
host name-to-address translation
ipv6 host
Creates a static IPv6 host name-to-address mapping
clear dns cache
Clears all entries from the DNS cache
clear host
Deletes entries from the host name-to-address table
show dns
Displays the configuration for DNS services
show dns cache
Displays entries in the DNS cache
show hosts
Displays the static host name-to-address mapping table
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-127 characters)
Default Setting
None
command and domain lookup is enabled with
– 523 –
Mode
GC
GC
GC
GC
GC
GC
PE
PE
PE
PE
PE