Cisco Cisco Packet Data Gateway (PDG)

Pagina di 8994
  Exec Mode Commands (D-S) 
dns-client  ▀   
 
Command Line Interface Reference, StarOS Release 17  ▄  
 
   
4051 
dns-client 
Performs DNS (Domain Name System) query on the basis of specified DNS client name, DNS query domain name, and 
type of query criteria. 
Product
 
All 
Privilege
 
Security Administrator, Administrator, Operator, Inspector 
Mode
 
Exec 
The following prompt is displayed in the Exec mode: 
[local]host_name
Syntax
 
dns-client dns_client_name [ query-type { A | AAAA | NAPTR | SRV } ] query-name 
query_domain_name 
dns-client
 
dns_client_name
 
Specifies the name of the DNS client whose cache and/or statistics are to be queried. It must be an existing 
DNS client expressed as an alphanumeric string of 1 through 64 characters. 
query-type { A | NAPTR | SRV } ]
 
Specifies that the type of query to perform for the defined DNS client is to be displayed. 
 
A
: Filters DNS results based on domain IPv4 address records (A records). This is the default query type. 
 
AAAA
: Filters DNS results based on domain IPv6 address records (AAAA records). 
 
NAPTR
: Filters DNS results based on Naming Authority Pointer records (NAPTR). 
 
SRV
: Filters DNS results based on service host records (SRV records). 
query-name
 
query_domain_name
 
Filters the DNS results based on the query domain name expressed as an alphanumeric string of 1 trough 255 
characters. 
query_domain_name
 is the domain name used to perform the DNS query and 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
Usage 
Use this command to perform DNS query on the basis of DNS Client name and filters the query results based 
on query type and query name. This command also populates the result into DNS Cache. This command used 
the current context to DNS request. 
Example
 
The following command displays statistics for a DNS client named 
test_dns
 with query type for IP address 
as 
A
 and query name as 
domain1.com