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.
Not sure if you're asking about a tutorial or something like the hosts file in Windows. I'm a part time Windows user too. In Ubuntu, the file's under /etc/hosts. To edit:
You can try using dnsutils to do that exactly. They are not installed by default so here you go:
Then you can dig around the DNS System:
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!
Other options to dig command:
For manual page of dig, follow this LINK.
Not sure if you're asking about a tutorial or something like the
hosts
file in Windows. I'm a part time Windows user too. In Ubuntu, the file's under/etc/hosts
. To edit: