Cisco Cisco ASR 5000

Page of 9109
Exec Mode Commands (A-C)   
▀  clear dns-client 
 
 
▄  Command Line Interface Reference, StarOS Release 18 
3886 
   
clear dns-client 
Clears DNS cache and/or statistics for a specified DNS client. 
Product
 
SCM 
Privilege
 
Security Administrator, Administrator, Operator 
Mode
 
Exec 
The following prompt is displayed in the Exec mode: 
[local]host_name
Syntax
 
clear dns-client name { cache [ query-name name | query-type { A | AAAA | NAPTR | SRV } ] 
| statistics }
 
dns-client name
 
Specifies the name of an existing DNS client whose cache and/or statistics are being cleared as an 
alphanumeric string of 1 through 255 characters. 
cache [ query-name name | query-type { A | AAAA | NAPTR | SRV } ]
 
Specifies that the cache for the defined DNS client is to be cleared. 
query-name name
: Filters DNS results based on the domain name. The name is an alphanumeric string of 1 
through 255 characters. that is the domain name used to perform the DNS query. This name is different from 
the actual domain name which is resolved. For example, to resolve the SIP server for 
service.com
, the 
query name is 
_sip._udp.service.com
 and the query type is 
SRV
query-type
 
A
: Filters DNS results based on domain IP address records (A records). 
 
AAAA
: Filters DNS results based on AAAA records (AAAA resource records). 
 
NAPTR
: Filters DNS results based on Name Authority Pointer records. 
 
SRV
: Filters DNS results based on service host records (SRV records). 
statistics
 
Specifies that statistics for the defined DNS client are to be cleared. 
Usage 
Use this command to clear DNS cache and/or statistics for a specified DNS client. 
Example
 
The following command clears statistics for a DNS client named 
domain1.com
clear dns-client domain1.com statistics