Why You Might Want To Stick With Your ISP's DNS Server After All

Many of us use public DNS servers like Google Public DNS and Open DNS for faster web browsing and other benefits. But in some cases your ISP's DNS server is much faster. Weblog Digital Inspiration illustrates why and when this might be.Photo by dawning.ca

It's all about your IP address. As Digital Inspiration explains, all of the major websites use Content Delivery Networks like Amazon and Akamai to serve up the content. A CDN looks up your computer's IP address to direct you to the nearest server, but because a public DNS server masks your IP address, the CDN might serve you content from a server that's actually not the closest one to you. Your download speeds will thus be slower than if you were using your ISP's DNS server. (It's also likely that any unmetered content your ISP offers won't be recognised as such.)

Google's DNS server information page acknowledges this issue:

Note, however, that because nameservers geolocate according to the resolver's IP address rather than the user's, Google Public DNS has the same limitations as other open DNS services: that is, the server to which a user is referred might be farther away than one to which a local DNS provider would have referred. This could cause a slower browsing experience for certain sites

How to tell if you should use your ISP's DNS server or a public one? Digital Inspiration recommends (and provides instructions for) using the dig tool and an IP geo-location app to find out if the CDN servers you're accessing are near you ... or on a different continent. You can also use previously mentioned Namebench to find the fastest DNS server for you. And if you heavily use your ISP's own software mirrors, gaming servers or other unmetered options, stick with the recommended settings.

Have any DNS-related tips or want to share your results? Let's hear them in the comments.

Before Changing DNS Servers to Open DNS or Google DNS, Read This! [Digital Inspiration]


Comments

    All well and good but OpenDNS just provides features that, for me, are too good to ditch. Access control, parental safety settings, anti-phishing/malware, logging, full integration with DNS-O-matic.

    If you're getting CDN speed issues (given the paltry broadband speed I get if doesn't concern me much) you could always stick your nearest CDN IPs in your hosts file (or equiv).

    I personally use dnsmasq on my gateway to overide certain IP with ones I manually define (to proxy geolocated services like pandora, BBC iplayer), if you have a setup like this yourself then just add the CDN IPs into that to 'fix' your network.

    The fastest DNS server for me is my ISP's.
    Even on my old ISP, Telstra's DNS server was the fastest

    If UR on Windows you can run this DNS Benchmarking Tool to see your results. For me, my ISP Internode was fastest DNS.

    Even better if I include the link :-)

    http://www.grc.com/dns/benchmark.htm

    A public DNS server does not mask your IP address, that's what a proxy server does.

    When your ISP's DNS server (or OpenDNS' or Google's) queries the CDN's name server, the CDN's name server will return the IP address of which ever server is closest to the host making the request. Your ISP's DNS server (or OpenDNS' or Google's) then caches this response which becomes the answer that it supplies to any other queries for that domain name.

    This is why if you query a North American public DNS server for the domain of a CDN you will be given a North American IP address and if you send the same DNS query to an Australian DNS server you'll normally be given a South East Asian IP address.

    The assumption behind this method is that user's local DNS servers will be geographically close to the end-user's computer.

    great article. Good points to why it's not necessarily better to use a reliable public DNS such as 8.8.8.8

Join the discussion!