dns

Syntax

dns {dnssec {disable;dlv {domain-name domain-name {trusted-anchor trusted-anchor;}}secure-domains [domain-name];trusted-keys {key key;load-key-file {dns-keys;}}}forwarders ip-address;max-cache-ttl;max-ncache-ttl;traceoptions {category {category-type;}file;}}

Hierarchy Level

[edit system services]

Release Information

Statement introduced in Release 10.2 of Junos OS.

Description

Configures the DNS server.

Options

dnssec—This option is explained separately.

forwarders—This option is explained separately.

max-cache-ttl—Maximum time-to-live (TTL) for cached responses, in seconds. The configurable range varies from 0 through 604800 seconds.

max-ncache-ttl—Maximum time-to-live (TTL) for cached negative responses, in seconds. The configurable range varies from 0 through 604800 seconds.

traceoptions—DNS server trace options. This option is explained separately.

Usage Guidelines

For configuration instructions and examples, see the Junos OS Security Configuration Guide.

Required Privilege Level

system—To view this statement in the configuration.

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