Category: lion
-
A PSA: Lion and .local Domain Names
Do you enjoy your hair? Would you prefer not to pull it out while waiting for your local Apache server on Mac OS X to deliver a page to you? If you use Mac OS X Lion and have development sites set up at .local addresses, you should immediately move them to any other fake TLD. The .local address space is resolved for Bonjour and as a result any request to a .local name will not hit /etc/hosts first, but will search for Bonjour hosts first. I found [this Stack Exchange question](http://stackoverflow.com/questions/6841421/mac-osx-lion-dns-lookup-order) on the subject tonight after getting frustrated with **curl** seemingly hanging for several seconds on each request. Instead, I switched all of my local dev sites from $DOMAIN.local to $DOMAIN.dev. The results are staggering.» Continue reading this article.