Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show system services dns dns-proxy

    Syntax

    show system services dns dns-proxy

    Release Information

    Command introduced in Junos OS Release 12.1X44-D10.

    Description

    Display domain name system (DNS) proxy information.

    Options

    • none—Display DNS proxy statistics information.
    • cache—(Optional) Display the DNS proxy cache.
    • statistics—(Optional) Display the DNS proxy statistics.

    Required Privilege Level

    view

    List of Sample Output

    show system services dns-proxy statistics
    show system services dns-proxy cache
    show system services dns-proxy cache <viewname V1>

    Output Fields

    lists the output fields for the show system services dns-proxy command. Output fields are listed in the table below:

    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

    Hostname of the host that has been cached.

    IP address

    IP address of the host.

    Time-to-live

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

    Type

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

    Class

    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

    user@host> show system services dns-proxy statistics
    DNS proxy statistics        :
        DNS proxy statistics  		:
        Status            		: enabled
        IPV4 Queries received  	: 30
        IPV6 Queries received  	: 0
        Responses sent    		: 30
        Queries forwarded 		: 13
        Negative responses		: 23
        Positive responses		: 23
        Retry requests    		: 0
        Pending requests  		: 0
        Server failures   		: 0
        Interfaces        		: fe-0/0/0.0, fe-1/0/1.0
    

    show system services dns-proxy cache

    user@host>show system services dns-proxy cache
    Hostname                  Time-to-live      Type        Class   IP address/Hostname
    juniper.net               408               A           IN      207.17.137.229
    whitestar.juniper.net     408               A           IN      172.17.27.50
    scarlet.juniper.net       408               A           IN      172.17.28.11
    bng-admin1.juniper.net    408               A           IN      10.209.194.131
    wf-nis1.juniper.net       408               A           IN      10.10.4.202
    asg-ns1.juniper.net       408               A           IN      10.16.0.11
    ruby.juniper.net          408               A           IN      172.17.28.100
    a.l.google.com            408               A           IN      216.239.53.9
    b.l.google.com            408               A           IN      64.233.179.9
    maps.l.google.com         408               A           IN      64.233.189.104
    c.l.google.com            408               A           IN      64.233.161.9
    d.l.google.com            408               A           IN      64.233.183.9
    e.l.google.com            408               A           IN      66.102.11.9
    g.l.google.com            408               A           IN      64.233.167.9
    magenta.juniper.net.      408               A           IN      172.17.27.123
    mail.juniper.net.         408               CNAME       IN      magenta.juniper.net.
    

    show system services dns-proxy cache <viewname V1>

    user@host>show system services dns-proxy cache <viewname V1>
    Hostname                  Time-to-live   Type        Class    IP address/Hostname
    yahoo.com.                408            A           IN       72.30.38.140
    yahoo.com.                408            A           IN       98.139.183.24
    yahoo.com.                408            A           IN       209.191.122.70
    magenta.juniper.net.      495            A           IN       172.17.27.123
    mail.juniper.net.         495            CNAME       IN       magenta.juniper.net.
    d.root-servers.net.       424            A           IN       128.8.10.90
    e.root-servers.net.       424            A           IN       192.203.230.10
    f.root-servers.net.       424            A           IN       192.5.5.241
    g.root-servers.net.       424            A           IN       192.112.36.4
    h.root-servers.net.       424            A           IN       128.63.2.53
    i.root-servers.net.       424            A           IN       192.36.148.17
    j.root-servers.net.       424            A           IN       192.58.128.30
    m.root-servers.net.       424            A           IN       202.12.27.33
    
    

    Published: 2014-05-08