Example: Configuring the TTL Value for DNS name servers
The DNS server stores DNS query responses in its cache for the TTL period specified in the TTL field of the resource record. You can configure the TTL value for cached responses by using the CLI. The following example shows how you configure the TTL value for a DNS server cache:
[edit]user@host# set system services dns max-cache-ttl ttl-value
The configurable range varies from 0 to 604800 seconds.
You can also configure the TTL value for cached negative responses by using the CLI:
[edit]user@host# set system services dns max-ncache-ttl ttl-value
Hide Navigation Pane
Show Navigation Pane
Download
SHA1