Live data from Hacker News

Using Dnsmasq for local development on OS X

passingcuriosity.com

1–10 of 39 posts

Re: Using Dnsmasq for local development on OS X

#4
I've been doing this for about a year or so now and its honestly the best solution for local development I've used in my career.

Recently I've started using Vagrant for more complex sites that require custom server software, or are based outside the traditional LAMP stack, but a Dnsmasq based setup on my mac is still my favorite for most sites.

Re: Using Dnsmasq for local development on OS X

#5
Great article for highlighting the dnsmasq on OSX idea. I wasn't aware that you could run this there.

On the goal of having unlimited easy to configure real domains that point to locahost, another service of interst is localtest.me [1]. This offers *.localtest.me -> 127.0.0.1

[1]: http://readme.localtest.me/

Re: Using Dnsmasq for local development on OS X

#8
post #5

Great article for highlighting the dnsmasq on OSX idea. I wasn't aware that you could run this there. On the goal of having unlimited easy to configure real domains that point to locahost, another service of interst is localtest.me [1]. This offers *.localtest.me -> 127.0.0.1 [1]: http://readme.localtest.me/

This is pretty useful! Maybe a noob question but how does this work offline / slow internet connections? I'm coding on the train pretty frequently and I hate waiting for urls to resolve... I'm guessing it's caching this DNS entry? (why would I otherwise have to run dscacheutil -flushcache...)
Post reply on HN