Setup Local/Internal DNS with a DD-WRT Router

This article was written on May 25, 2011 by CyberNet.

I’ve talked about some features of the DD-WRT router before, and one of the things I’ve been playing around with lately is DNSMasq. There’s a good chance you haven’t noticed this setting in DD-WRT because it’s not something most people would ever think to use. Plus DNSMasq can be found in two different areas within DD-WRT since it can be used for both DHCP assignments as well as internal/local DNS management. What I will be focusing on is the local DNS aspect.

When is using DNSMasq useful for controlling DNS? Here are some examples as to why you may want to use it:

  • You have DNS pointing to something that is hosted on your home network and it is also accessible from outside your network. For example, you may have a security camera that has a domain attached to it (e.g. camera.example.com), and it’s accessed from both on and off your network. Using DNSMasq on your router you can make the domain, camera.example.com, point to the internal IP of the camera so that anyone who accesses that camera from within your network won’t have to rely on external DNS getting resolved. You should see at least a slight performance boost that way.
  • You want to override public DNS entries, such as google.com. You can obviously pull off some great pranks by directing traffic to sites like google.com or facebook.com to some custom site you create, but there are other reasons this is legitimately useful. Maybe you are testing a new version of your own website, but want to make sure it will work fine with the live domain. DNSMasq can help you accomplish that.
  • You want to create DNS for a site that is accessible using only a single word, such as intranet. Companies do this kind of thing all the time where an internal-only website can be reached without needing or wanting a publicly-accessible URL.

I know what you may be thinking… why wouldn’t you just update the HOSTS file on your local machine? Well, you could, but not all devices support that feature. By using DNSMasq the DNS change will work for anything connecting to your router, including mobile devices such as phones and tablets.

So what do you have to change in DD-WRT? Here’s what you need to do:

  1. Go to the Services tab once you’ve logged into the administration interface.
  2. Find the section labeled DNSMasq, and make sure the DNSMasq option is enabled.
  3. This is the fun part. In the Additional DNSMasq Options box type out your local DNS configurations in the format of one entry per line:
    • address=/machine_or_domain_name/ip_address – where machine_or_domain_name is what you want to create/change DNS for (e.g. camera.example.com, google.com, intranet) and ip_address is the new IP address you want it to point to.
  4. Apply the settings to DD-WRT, and you should be all set.

This is an example of what your DNSMasq settings may look like:

Ddwrt dnsmasq

If your devices don’t see the changes after they’ve been made you may need to try restarting them since that is often the simplest way to clear the DNS cache.

 

Copyright © 2013 CyberNetNews.com

Health Kicks Actually Seem to Reverse Cell Ageing

Health Kicks Actually Seem to Reverse Cell AgeingHealth kicks might help you feel better about yourself, but new research suggests that they could actually be reversing ageing at the cellular level, too.

Read more…


    



Daily Roundup: HTC 8XT for Sprint, Windows 8.1 heads to manufacturers, Galaxy Gear, and more!

DNP The Daily RoundUp

You might say the day is never really done in consumer technology news. Your workday, however, hopefully draws to a close at some point. This is the Daily Roundup on Engadget, a quick peek back at the top headlines for the past 24 hours — all handpicked by the editors here at the site. Click on through the break, and enjoy.

Comments

Why Your Internet Connection Just Had a Freakout (And How to Fix It)

Why Your Internet Connection Just Had a Freakout (And How to Fix It)

There’s a chance your internet connection just fritzed out for 20 minutes or so and didn’t let you load any webpages. If you were paying attention, though, you’d have seen that other services, like your chatrooms or a Twitter client, kept working just fine—you just couldn’t send any data out. That’s because there was a hiccup with Google’s DNS servers. Here’s exactly what happened, and how to fix it.

Read more…


    



GoDaddy acknowledges issues with sites, is ‘working on it’ (Update: DNS switched to VeriSign, ‘most’ customers back online)

Image

GoDaddy looks to be having a rough one today. Users are complaining of issues with sites and email addresses tied to the popular and oft-controversial domain registrar. For the moment, GoDaddy’s own site appears to be working just fine, though the company has acknowledge its woes via Twitter, noting, “we’re aware of the trouble people are having with our site. We’re working on it.” According to TechCrunch, the outage has affected “millions of sites.”

Update: The company still hasn’t commented on the source of the outage, but a tweet indicates “most customer hosted sites back online…no customer data compromised” Meanwhile, Wired notes GoDaddy has switched from self hosting DNS servers to those of its competitor, VeriSign.

[Thanks to everyone who sent this in]

Continue reading GoDaddy acknowledges issues with sites, is ‘working on it’ (Update: DNS switched to VeriSign, ‘most’ customers back online)

GoDaddy acknowledges issues with sites, is ‘working on it’ (Update: DNS switched to VeriSign, ‘most’ customers back online) originally appeared on Engadget on Mon, 10 Sep 2012 14:46:00 EDT. Please see our terms for use of feeds.

Permalink TechCrunch  |  sourceTwitter, GoDaddy (Twitter)  | Email this | Comments

Google updates PageSpeed Service so you don’t waste precious seconds waiting for pages to load

Google updates PageSpeed Service to further reduce website load times

Last year, Google launched its PageSpeed Service, aiming to improve our experience across the web while reportedly deferring its own financial interests. The concept was sound — similar services like Akamai work to accelerate web browsing by caching pages in much the same way — but there’s always room for improvement. The latest PageSpeed beta uses some straightforward techniques to improve performance even further, using a new rewriter called “Cache and Prioritize Visible Content.” Using this new tool, your browser will load content that appears “above the fold” before fetching text and photos that would be initially hidden on the page, while also prioritizing other content ahead of Javascript, which often isn’t needed as quickly as more basic elements. Finally, for pages that contain HTML that isn’t cacheable, such as when personalized info is returned, standard portions of the site are cached and displayed immediately, while other content loads normally. The new tool isn’t a perfect fit for every webpage, but we’ll take a boost wherever we can get it.

Filed under:

Google updates PageSpeed Service so you don’t waste precious seconds waiting for pages to load originally appeared on Engadget on Sun, 05 Aug 2012 11:30:00 EDT. Please see our terms for use of feeds.

Permalink TechCrunch  |  sourcePageSpeed, Google Developers Blog  | Email this | Comments

Your Internet Might Shut Off Tomorrow Because of a Virus—Here’s How to Fix It [Video]

Tonight at 12:01 AM EDT Monday July 9th, the Internet is going to become inaccessible for nearly half a million people around the world because of malware called DNS Changer. If your computer is infected with DNS Changer, it won’t be able to get on the Internet anymore. Here’s how to get rid of it and make sure the Internet still works for you. More »