Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

dns (System Services)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
dns {
        dns-proxy {
            
            cache hostname inet ip-address; 
            default-domain domain-name {
                forwarders ip-address;
            }
            interface interface-name;
            propogate-setting (enable | disable);
            view view-name {
                domain domain-name {
                    forward-only;
                    forwarders ip-address;
                }
                match-clients subnet-address;
            }
        }
    }
    dnssec {
        disable;
        dlv {
            domain-name domain-name trusted-anchor  trusted-anchor;
            }
    secure-domains domain-name;
        trusted-keys (key dns-key | load-key-file url);
    forwarders {
        ip-address;
    }
    max-cache-ttl seconds;
    max-ncache-ttl seconds;
    traceoptions {
        category {
            category-type;
        }
        debug-level level;
        file {
            filename;
            files number;
            size maximum-file-size;
            (world-readable | no-world-readable);
        }
        flag flag;
        level (all | error | info | notice | verbose | warning);
        no-remote-trace;
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit system services]

Description

Configure the DNS server.

Options

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 10.2.

footer-navigation