Caching all DNS records [closed]

An ISP has caching of all DNS records (the same does the public DNS servers, like google and opendns). Whenever you make a DNS query, it asks to the IP address given by my ISP.

Questions:
* Can I do the same, to lower the query time and to hide my DNS queries?
* How do I do it?

Later Edit:

I understand how a client->server DNS query works. And I know about local OS DNS caching.

My setup is: I have a few clients (computers) that connect to the internet by a linux box (computer as router). The DNS forwarder is dnsmasq.

Answer

Can I do the same, to lower the query time and to hide my DNS queries?

Firstly an ISP doesn’t nessearily know ALL the DNS records, just the ones it looks after and another DNS server to query for entries it doesn’t look after – it does cache these referred ones though but only usually on a need to know basis.

But yes you can do this same thing, in fact your client machines do essentially the same thing.

How do I do it?

Put in a DNS server/s of your own and point your client machine to it – it sounds simple but can get more complex than this. Look at software called ‘bind’.

Attribution
Source : Link , Question Author : machineaddict , Answer Author : Chopper3

Leave a Comment