Skip to Content

Manage your DNS settings for faster web browsing

In the Network Settings pane of your System Preferences, you may have noticed that you can manually set the DNS servers your connection will use. There are a few reasons for doing this, namely speeding up the time it takes to look up any given website, but also to bypass some annoyances in your ISP's (or IT department's) default name server. Such annoyances could include domain blocking, censorship and other things you may or may not know are even happening. For the most part, though, you'd change your DNS settings to make sure you were using the fastest possible server from your current location. Read on to find out how!


Finding that fastest servers is really easy these days, thanks to a free utility called namebench. Grab a copy and load it up. It will automatically include whatever you have set as your current domain name servers, which you can leave alone for now. You can experiment with the settings, but I've found that my best results come from checking all three of the main checkboxes (global DNS, regional DNS and censorship checks), selecting my primary browser as the source, and using the automatic test selection mode. I run 220 queries, and usually do two runs. When it's finished, it will load up a web page of results (from your local machine). Then you just have to modify your DNS settings based on the results.

To modify your DNS servers, open System Preferences and go to "Network." The easiest thing to do here is just to go to your primary interface (usually Ethernet or Airport, depending on how you connect) and enter a comma-separated list of IP addresses in the DNS server field. If you want a nicer interface, click on the "Advanced" button and choose the DNS tab in the tab bar. There, you can use the plus and minus buttons to add and remove IP addresses from the list.


Generally, the top three IP addresses that namebench provides can just be inserted in one of these two ways and, depending on what your current servers were, you may notice a sizeable difference in the time it takes to initially locate web pages. Give it a shot! Note that your optimum settings will change over time, and especially from location to location. Setting up a few Network Locations for networks you use often will allow you to easily change DNS settings when you change location.

Addendum: As noted over at APC, using US-based DNS providers when outside of the US can actually be detrimental to your download speeds. If you're surfing outside of the US, turn off the "Use global DNS providers" checkbox for better results!



Categories

Internet Tools

In the Network Settings pane of your System Preferences, you may have noticed that you can manually set the DNS servers your connection...
 

Add a Comment

*0 / 3000 Character Maximum

39 Comments

Filter by:
jls242424

I tried the test and was using OpenDNS and then switched it to UltraDNS as the test results suggested for a 33% bump in speed. Most sites open instantly now. Excellent..

June 09 2010 at 7:27 PM Report abuse rate up rate down Reply
Dan Warne

Using a DNS service that's not your ISP's may result in MUCH slower downloads if you are outside the US. Reason being it may screw up Akamai's system of distributed cache servers, which are used for some of the largest downloads you do -- operating system updates, TV shows from iTunes and so on. If you are in Australia, for example, and you use Google DNS or OpenDNS, your closest Akamai cache server will be selected as being in the US. Then, because of the long international latency between you and the US Akamai server, you'll find content will trickle in at a couple of hundred kilobytes per second, whereas if you were using your ISP's DNS and the truly closest Akamai server to you, you could be getting megabytes a second.

Note: this is not a defence of ISPs' DNS servers -- which are often rubbish quality, under-resourced servers -- but just wanted to point out there is a BIG downside to using DNS servers that are not located close to you, as it may stuff up Akamai server selection.

May 19 2010 at 2:20 AM Report abuse rate up rate down Reply
Nikax

as a computer professional, I agree with many of the comments here regarding security. I think the real value of the namebench app (if there is one at all) is for tuning DNS sources that you do know and trust. And for most people, the best advice is: leave it alone. A fractional gain in naming services performance is not worth the enormous security risks of compromised naming services.


TUAW: needs parental supervision.

May 18 2010 at 11:08 AM Report abuse rate up rate down Reply
laraine.barker

Man, I can't believe the difference this made to my surfing! Not to mention the difference it made to getting all the software updates that I need and haven't been able to get. Thank you, Brett. And people here who have commented about security issues don't need to worry. I recognised the owners of the servers that were recommended for me.

May 17 2010 at 10:56 PM Report abuse rate up rate down Reply
Dave Wood

I just use Google's new DNS servers 8.8.8.8 and 8.8.4.4 Mainly because they don't substitute ad filed pages for unknown domains etc. And if you can't trust Google with DNS, who can you trust?

May 17 2010 at 5:17 PM Report abuse rate up rate down Reply
Haytham

I just did this and it suggested DNS servers that were 175% faster than what I was previously using (OpenDNS). I've noticed a significant increase in speed.


Primary Server
198.6.1.5
UU Cache-4 US

Secondary Server
205.171.2.65
Qwest-2 US

Tertiary Server
68.94.157.1
SBC/AT&T Global-2 U

They all look reputable to me

May 17 2010 at 3:09 PM Report abuse rate up rate down Reply
James Rhodes

I did this a couple hours ago, and have noticed that my web browsing is much faster now. Thanks for this article.

May 17 2010 at 12:56 PM Report abuse rate up rate down Reply
Simon

I do find it odd every is going of their tits about security.

First of all. I don't know who my default DNS provider is. Most likely my ISP.

Secondly. The argument "you don't know whos running the DNS" is ridiculous. The internet is still vulnerable from physical attacks. I don't mean bombs either. Getting man on the inside at a DNS facility would be worth gold. By that mere idea, my Dropbox is at risk, my email is at risk, my facebook is at risk.

Unless IT workers have a police/federal clearance - it's all at risk.

May 17 2010 at 2:26 AM Report abuse rate up rate down Reply
K.C.

The app just confirmed for me that opendns is 113% faster than my ISPs dns. I've been using opendns for over a year so that's nice to know.

I don't think there's much concern with this app recommending a spoofed dns server.

May 17 2010 at 12:35 AM Report abuse rate up rate down Reply
Jenny

I've found the app to be useful in seeing what I could be connecting to. Honestly, my own ISP's servers were just as good if not better than others.

As for the others' comments, they're right if you're on a company's computer. You shouldn't be messing with the settings if you or others are trying to get your work done. At a few of my jobs the computers were filtered to either deny internet access, or if you could get the internet, most sites were blocked to where you still couldn't do your job properly. Besides, they're using Windows computers, and I'm not about to do anything to it other than turn it on, load the apps I need, and get my work done.

May 16 2010 at 10:55 PM Report abuse rate up rate down Reply
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.