Where can I find the DNS cache?

14,568

You can try using dnsutils to do that exactly. They are not installed by default so here you go:

sudo apt-get install dnsutils

Then you can dig around the DNS System:

dig host.tld

Which will in return give you a DNS Record from your DNS Server specified in /etc/resolv.conf.

Caching is usually done by individual applications, like for example Firefox. To my knowledge there are only tools to flush the cache, not to read it out.

Cheers!

Share:
14,568

Related videos on Youtube

mrSuperEvening
Author by

mrSuperEvening

Updated on September 18, 2022

Comments

  • mrSuperEvening
    mrSuperEvening over 1 year

    I just want to see how IP addresses mapped to domain names in my local machine. Is it possible? Thanks.

    BTW, it's just for fun.