Reference Guide

Template Last Updated - 2/7/2007 DNS Client Commands 833
DELL CONFIDENTIAL – PRELIMINARY 5/21/14 - FOR PROOF ONLY
45
DNS Client Commands
clear host
Use the clear host command in privileged EXEC mode to delete dynamic
hostname-to-address mapping entries from the DNS client name-to-address
cache.
Syntax
clear host
{
hostname |
*}
Parameters
hostname
—Name of the host for which hostname-to-address mappings
are to be deleted from the DNS client name-to-address cache.
*
—Specifies that all the dynamic hostname-to-address mappings are to be
deleted from the DNS client name-to-address cache.
Default Configuration
No hostname-to-address mapping entries are deleted from the DNS client
name-to-address cache.
Command Mode
Privileged EXEC mode
User Guidelines
To remove the dynamic entry that provides mapping information for a single
hostname, use the
hostname
argument. To remove all the dynamic entries,
use the * keyword.
To define a static hostname-to-address mappings in the DNS hostname
cache, use the ip host command.
To delete a static hostname-to-address mappings in the DNS hostname
cache, use the no ip host command.