Shows Domain Name System (DNS) cache entries.
dns | Domain Name System. |
cache | Specifies showing DNS cache entries. |
current | Retrieves the current entries rather than most recent cache. Using this option might take some time to display the output. |
detail | Displays output without truncation. |
N/A.
To clear the DNS cache, use the command clear dns cache.
The following example shows DNS cache entries (truncated):
# show dns cache Domain Name Address Flag Expiry Time ---------------------------- ---------------------------------- ---- ----------------------- ocsp.starfieldtechaaaa.com> ocsp.godaddy.com.akadnssss.net> CF Fri Jan 4 07:32:45 2019 a652.dscb.akamai.net 182.156.239.25 4F Fri Jan 4 06:35:47 2019 a652.dscb.akamai.net 182.156.239.27 4F Fri Jan 4 06:35:47 2019 s.twitter.com 104.244.42.195 4F Fri Jan 4 06:59:12 2019 s.twitter.com 104.244.42.67 4F Fri Jan 4 06:59:12 2019 s.twitter.com 104.244.42.131 4F Fri Jan 4 06:59:12 2019 s.twitter.com 104.244.42.3 4F Fri Jan 4 06:59:12 2019 dmp.truoptik.com 104.16.91.60 4F Fri Jan 4 06:37:35 2019 dmp.truoptik.com 104.16.92.60 4F Fri Jan 4 06:37:35 2019 Flags: 4 – IPv4, 6 – IPv6, C – Canonical Name, F – Forwarded Query, R – Reverse Query, X – Non-Existent Domain Name, > - Indicates Domain Name or Address is truncated past 44 characters. Total: 9
The following example shows DNS cache entries (not truncated):
# show dns cache detail Domain Name : ocsp.starfieldtech.com Address : ocsp.godaddy.com.akadns.net Flag : CF Expiry Time : Fri Jan 4 07:32:45 2019 Domain Name : a652.dscb.akamai.net Address : 182.156.239.25 Flag : 4F Expiry Time : Fri Jan 4 06:35:47 2019 Domain Name : a652.dscb.akamai.net Address : 182.156.239.27 Flag : 4F Expiry Time : Fri Jan 4 06:35:47 2019 Domain Name : s.twitter.com Address : 104.244.42.195 Flag : 4F Expiry Time : Fri Jan 4 06:59:12 2019 Domain Name : s.twitter.com Address : 104.244.42.67 Flag : 4F Expiry Time : Fri Jan 4 06:59:12 2019 Domain Name : s.twitter.com Address : 104.244.42.131 Flag : 4F Expiry Time : Fri Jan 4 06:59:12 2019 Flags: 4 – IPv4, 6 – IPv6, C – Canonical Name, F – Forwarded Query, R – Reverse Query, X – Non-Existent Domain Name Total: 9
This command was first available in ExtremeXOS 30.3.
This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, and 5520 series switches.