show dns forwarding statistics
Displays DNS forwarding statistics.
Operational mode
Use this command to display statistics related to DNS forwarding. The statistics restart each time a change occurs in name servers from any source (DHCP, system, or statically configured), a change in static host mapping (by using the system static-host-mapping command), or a change made to the DNS forwarding configuration.
The following example shows how to display DNS forwarding statistics.
vyatta@R1> show dns forwarding statistics
----------------
Cache statistics
----------------
Cache size: 150
Queries forwarded: 5
Queries answered locally: 2
Total DNS entries inserted into cache: 23
DNS entries removed from cache before expiry: 0
---------------------
Nameserver statistics
---------------------
Server: 10.0.0.30
Queries sent: 5
Queries retried or failed: 0
vyatta@R1>