Adding local DNS server to Wireless Router

Adding a local DNS server to my wireless router just made my life easier.

I develop web sites with Drupal and web applications with Symfony2. These sites need to be tested on a range of devices including iPhone, iPad, Android Devices, desktops, and laptops.  Testing on desktops and laptops is easy because you and edit their host files and manually enter the desired DNS info.  However, I haven't found a way to do that with iOS devices.  I've seen a lot of iOS simulators but they don't seem to work like the real thing.  I really don't want to upload the sites to a remote server just so that I can take a quick look.

One solution would be to set up a local DNS server on my local network but that means having to set up another machine and have it running all the time.

It seemed like my router should be able to handle this task but there were no settings provided in the web interface for my Netgear WNDR3700 v3.

I found OpenWrt but it was a little overwhelming.

Then I found,

Searched their Router Database and found my solution.

Easy to install.  I was up and running in 30 minutes.

In the "Services" tab of the web interface you can find the "Additional DNSMasq Options". 

Enter your local information like this:


Click "Apply Settings" and you're ready to go!

When your device is hooked up to your local network you can visit your dev site at