Jul 6, 2012

OS X Lion and local DNS issues

Many people use their Macs for local development. They have Apache web server running on their computers. This works great. However there is an issue with Mac OS X Lion, which causes DNS issues with ".local" domains. If you use ".local" for development, you may notice that your local Apache seem to answer very slow (5 seconds or so). In fact, it is not Apache, it is DNS lookups that take most of the time. In this article I collected several ways to solve the issue.

The are several reasons for this. Therefore there is no one single solution for all cases. You can to try one or more or even all to find what works for you.