Cisco Cisco Packet Data Gateway (PDG) Guía Para Resolver Problemas
Exec Mode Show Commands (D-G)
▀ show dns-client
▄ Cisco ASR 5000 Series Command Line Interface Reference
OL-22948-01
show dns-client
Displays DNS cache and/or statistics for a specified DNS client.
Product
P-CSCF, SIP Proxy, SGSN
Privilege
Security Administrator, Administrator, Operator, Inspector
Syntax
Specifies that the cache for the defined DNS client is to be displayed.
: Defines the name of the DNS client whose cache is to be displayed.
must be an existing DNS
client and be from 1 to 255 alpha and/or numeric characters in length.
query-name
query-name
e: Filters DNS results based on the domain name.
must be from 1 to 255 characters in
length.
is the domain name used to perform the DNS query.
is different from the actual domain
name which is resolved. For example, to resolve the SIP server for
, the query name is
and the query type is
.
query-type:
: Filters DNS results based on domain IP address records (A records).
: Filters DNS results based on service host records (SRV records).
Specifies that statistics for the defined DNS client are to be cleared.
: Defines the name of the DNS client whose statistics are to be displayed.
must be an existing
DNS client and be from 1 to 255 alpha and/or numeric characters in length.
Indicates the output of the command is to be piped (sent) to the command specified.
A command to send output to must be specified.
For details on the usage of
A command to send output to must be specified.
For details on the usage of
and
, refer to the Regulating a Command‘s Output section of the
Command Line Interface Overview chapter in the Cisco ASR 5000 Series Command Line Interface
Reference.
Reference.
Usage
Use this command to display DNS cache and/or statistics for a specified DNS client.
Example
The following command displays statistics for a DNS client named
The following command displays statistics for a DNS client named
: