show security dns-cache
Syntax
show security dns-cache <dns-name dns-name>
Description
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.
Options
-
dns-name
—Display DNS cache information for the specified name.
Required Privilege Level
view
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.
Field Name |
Field Description |
---|---|
|
DNS name. |
|
IPv4 or IPv6. |
|
Time-to-live value. |
|
IP address for the DNS name. |
Sample Output
show security dns-cache
user@host> show security dns-cache DNS Name: dns1.test.com: Address Family: IPv4, TTL: 10 IP Address: 10.1.1.1 Address Family: IPv6: TTL = 15 IP Address: 2001:10.1.1.1 DNS Name: dns2.test.com: Address Family: IPv4, TTL: 20 IP Address: 10.2.2.2 IP Address: 10.2.2.3
Sample Output
show security dns-cache dns-name dns2.test.com
user@host> show security dns-cache dns-name dns2.test.com DNS Name: dns2.test.com: Address Family: IPv4, TTL: 20 IP Address: 10.2.2.2 IP Address: 10.2.2.3
Release Information
Command introduced in Junos OS Release 12.1X44-D10.