Can somebody share with me a way to display the DNS cache on my MacOS, Catalina (10.15.4)?
MacOS – DNS cache on macOS (Catalina)
dnsmacos
Related Question
- MacOS – How to really (dig) flush the DNS cache on OS X 10.9
- MacOS – OSX Yosemite DNS cache Issues
- MacOS – How to clear Google Chrome’s DNS cache entirely
- MacOS – El Capitan: DNS cache won’t flush
- IOS – How to flush the DNS cache on iOS
- MacOS – Flush cache of DNS on macOS Sierra & High Sierra
- How to flush the DNS cache of Safari on macOS Mojave without restarting the system
- How to flush the DNS cache on macOS
Best Answer
It's very likely you don't actually have a DNS cache. If you do,
dscacheutil -cachedump
seems relevant here, probablysudo dscacheutil -cachedump
. That said, I don't see any cache on any system I have, neither server-oriented systems nor end-user laptops.See
man dscacheutil
for more.Denis' answer via the comment will let you see lookups as they happen, but the DNS cache is very short lived if present at all.
Is there an actual problem at hand?