I’ve slowly been working my way around to believing that hosts is an anachronism. Everything should be DNS. If you want to override DNS, then actually override DNS. I have too many machines to be editing files on. :) even if you only have one machine, running a DNS cache on local host is the bomb.
What do you recommend for doing that these days? The last time I messed with DNS was with PowerDNS.
Still using bind, but fooling about with unbound more.
Unbound is pretty darn good. I don’t use it configured with dnssec though, so I can’t speak to that.
I’ve been running dnsmasq locally for a few months, seems to work well. Not had any issues with it.
Agreed. The only thing I end up in /etc/hosts these days is my hostname matching an entry for lo0, though even that may not be necessary anymore. (Remember back in the late 90s when X would hang for multiple minutes starting if it couldn’t resolve itself? Weird.)
Does that work with DNSSEC?
I really kind of wish Linux had the flexibility in DNS that OS X offers (guess you don’t hear that phrase a lot): It lets you register resolvers specific to subdomains, which is allows stuff like pow to work.
Disregard format-specific tools