I know that on Windows I can issue
ipconfig /displaydns and I see the local DNS's cache content.
How can I list the DNS's cache content in Linux?
I would like to get as much as cross-distro solution as possible.
I don't know of a way to see the actual contents of the cache, though you can display statistics with
That can at least show you how efficient your cache is, though not exactly what it's resolving.
You may have other options if you're using an alternate caching tool, like DNSMASQ.