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-cache

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
dns-cache {
    error-response-delete-ip {
        retry-interval seconds;
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit logical-systems logical-system-name security policies],
[edit logical-systems logical-system-name tenants tenant-system-name security policies],
[edit security policies],
[edit tenants tenant-system-name security policies]

Description

Define security policy DNS cache behaviors. The following behaviors can occur:

  • Flushing of the DNS cache entry on error response.

  • Keeping the DNS cache entry unchanged on all DNS servers time out.

  • Updating the DNS cache entry when there is a positive response.

Options

error-response-delete-ip

Clear DNS cache entry IP on error DNS response

  • Values:

    retry-interval

    Interval between deleting IP and resending DNS requests

    • Range: 5 through 86400 seconds.

    • Default: 300 seconds.

Required Privilege Level

security

Release Information

Statement introduced in Junos OS Release 20.1R1.

footer-navigation