Looking for a transparent and persistent DNS cache
I am looking for a DNS cache that's very aggressive in storing known resolutions and that remains responsive by not doing outside queries anymore than absolutely needed.
There are many DNS servers in Ubuntu repository, what is your opinion of what might be the easiest way?
I've used pdnsd before with a bit tweaking but in the end it's not satisfactory enough as it's more a proxy than a cache. I would assume the DNS cache to:
- only look up addresses from external domain name servers if 1) it's not found in the cache or 2) the internet connection is up, the cached address is old enough, and nobody is currently querying the name!
- store cached entries on disk automatically
- not flush the cache as nameservers change due to switching networks or starting/stopping VPN services
Thus it would minimise stalls caused by DNS resolution, regardless of whether some name servers are up/down/
thanks in advance,
S
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask yason for more information if necessary.