Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


show system services dns dns-proxy



Display domain name system (DNS) proxy information. This option is supported on the SRX300, SRX320, SRX340, SRX345, SRX380, and SRX550M devices.


  • none—Display DNS proxy statistics information.

  • cache—(Optional) Display the DNS proxy cache.

  • statistics—(Optional) Display the DNS proxy statistics.

Required Privilege Level


Output Fields

Table 1 lists the output fields for the show system services dns-proxy command. Output fields are listed in the approximate order in which they appear.

Table 1: show system services dns-proxy

Field Name

Field Description

DNS proxy statistics

Display information about the DNS proxy.

  • Status—State of the proxy server as Enabled or disabled.

  • Queries received—Number of DNS queries received by the DNS proxy.

  • Responses sent—Number of DNS responses sent by the DNS proxy.

  • Queries forwarded—Number of DNS queries forwarded by the DNS proxy.

  • Negative responses—Number of negative responses the DNS proxy sent to the DNS client.

  • Retry requests—Number of retries the DNS proxy received from the DNS client.

  • Pending requests—Number of pending queries the DNS proxy has yet to send the DNS client a response for.

  • Server failures—Number of DNS proxy server failures.


Hostname of the host that has been cached.

IP address

IP address of the host.


Length of time before an entry is purged from the DNS cache.


Type of DNS Resource Record. For example, A records refer to IPv4 host addresses.


Class of DNS. A parameter used to define a DNS Resource Record. For example, IN class is used for Internet domain names.

Sample Output

show system services dns-proxy statistics

show system services dns-proxy cache

show system services dns-proxy cache <viewname V1>

Release Information

Command introduced in Junos OS Release 12.1X44-D10.