This command deletes dynamic entries from the DNS table.
clear host
S
YNTAX
clear host {name | *}
name - Name of the host. (Range: 1-100 characters)
* - Removes all entries.
D
S
EFAULT
None
C
M
OMMAND
Privileged Exec
C
U
OMMAND
Use the the clear host command to clear dynamic entries, or the
host
command to clear static entries.
E
XAMPLE
This example clears all static entries from the DNS table.
Console(config)#clear host *
Console(config)#
This command displays the configuration of the DNS service.
show dns
C
M
OMMAND
Privileged Exec
E
XAMPLE
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#
C
HAPTER
ETTING
ODE
SAGE
ODE
– 975 –
| Domain Name Service Commands
41
no ip