Setting up wildcard DNS on localhost domains on OSX
▻http://mikeferrier.com/2011/04/04/setting-up-wildcard-dns-on-localhost-domains-on-osx
So what’s the answer? Set up your own local nameserver. It’s easier than you might think. OSX Snow Leopard ships with ISC Bind (the de facto standard for serving DNS) and it’s pretty easy to get going. Here’s how to do it.