C
HAPTER
38
| Domain Name Service Commands
– 951 –
clear host This command deletes dynamic entries from the DNS table.
SYNTAX
clear host {name | *}
name - Name of the host. (Range: 1-100 characters)
* - Removes all entries.
DEFAULT SETTING
None
COMMAND MODE
Privileged Exec
COMMAND USAGE
Use the clear host command to clear dynamic entries, or the no ip host
command to clear static entries.
EXAMPLE
This example clears all dynamic entries from the DNS table.
Console(config)#clear host *
Console(config)#
show dns This command displays the configuration of the DNS service.
COMMAND MODE
Privileged Exec
EXAMPLE
Console#show dns
Domain Lookup Status:
DNS enabled
Default Domain Name:
sample.com
Domain Name List:
sample.com.jp
sample.com.uk
Name Server List:
192.168.1.55
10.1.0.55
Console#