Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


show security dns-cache



Display DNS cache information.


This command is only available to the primary administrator on devices that are configured for logical systems. This command is not available in user logical systems or on devices that are not configured for logical systems.


  • dns-name—Display DNS cache information for the specified name.

Required Privilege Level


Output Fields

Table 1 lists the output fields for the show security dns-cache command. Output fields are listed in the approximate order in which they appear.

Table 1: show security dns-cache Output Fields

Field Name

Field Description

DNS Name

DNS name.

Address Family

IPv4 or IPv6.


Time-to-live value.

IP Address

IP address for the DNS name.

Sample Output

show security dns-cache

Sample Output

show security dns-cache dns-name

Release Information

Command introduced in Junos OS Release 12.1X44-D10.