Tuesday, October 4, 2011

Speeding up Web browsing on Mac OS X

A few days ago I showed how to configure a local DNS server on Mac OS X to help test locally hosted mobile apps.

You can also use that local DNS server to drastically improve Web browsing performance.

On complex Web pages DNS domain name lookups can introduce significant latency and slow down your Web browsing experience. A local DNS server cache (with minimum latency as it's local) connected to fast public DNS servers can eliminate that bottleneck and speed up Web browsing.

The good news is that it's really easy to set up.

After following the steps from my previous post, just edit your /etc/named.conf file, and insert the following inside the options { ... } section:
forwarders {
  8.8.8.8;
  8.8.4.4;
};

8.8.8.8 and 8.8.4.4 are the Google public DNS servers.

That's it. Like magic, you now have a super fast local DNS caching server connected to the Google public DNS servers, which are also much faster than your average Internet Service Provider DNS servers or the Root Internet DNS servers used in the default Mac OS X DNS config.

Happy speedy browsing!

1 comment:

mahasiswa teladan said...

hi...Im student from Informatics engineering nice article,
thanks for sharing :)


The postings on this site are my own and don’t necessarily represent positions, strategies or opinions of my employer IBM.