Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the recommended alternative to dnsmasq? I am looking at overriding/configuring the TTL.

(Probably the only thing I miss from Windows is the fact that it was more aggressive in caching DNS responses than Linux)

share|improve this question
up vote 4 down vote accepted

There is no "recommended alternative" to dnsmasq that I'm aware of. Dnsmasq works perfectly fine for it's purpose. You can set the TTL of local responses from a dnsmasq server with the local-ttl option.

I don't know of any technical basis for the claim that "Windows is [...] more aggressive in caching DNS responses than Linux" -- as far as I know, both operating systems respect the TTL provided to them. Any attempt to do otherwise is severely broken. The only possibility I can think of is that you are attempting to state that most Linux distributions don't pre-install a caching DNS resolver -- which is true, but ultimately irrelevant. If you do not have a suitable caching resolver on your local network, you can install one of your choosing. I use dnscache, from djbdns, which works wonderfully.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.