Posted: Tue Aug 30, 2011 17:25 Post subject: ddwrt dns server and caching
I was using my router running ddwrt as my local dns server and is fast at dns, but I altely discovered the caching is too agressive.
To me there is 3 fundamental issues and I am curious if there is good workarounds, configuration for them.
1 - The dns records get cached for a undetermined amount of time that is much higher than ttl of the dns record. Lately had issues with bad dns lookup.
2 - it caches negative dns lookups.
3 - I couldnt find a way to adjust the caching behaviour, eg. use the router as a dns server but have no local caching enabled on it.
Cache-size
Set the size of dnsmasq's cache. The default is 150 names. Setting the cache size to zero disables caching.
no-negcache
Disable negative caching. Negative caching allows dnsmasq to remember "no such domain" answers from upstream nameservers and answer identical queries without forwarding them again. _________________ (05/02/17) std - 31924
Linksys WRT400N
Buffalo WHR-G300N