RSS

>Work around slow DNS

02 Feb

>If you have a slow DNS server that is causing you delays, for example while browsing the web, then try switching to a faster DNS server.

If that does not work, then here’s a trick you may want to try: make your computer perform DNS lookups for the hostnames you use most often (such as www.google.com) on a regular basis.

On Mac OS X, Linux and UNIX systems this can be accomplished using a simple cron job, just execute a command like:

nslookup http://www.google.com

or:

host http://www.google.com

This will perform the DNS lookup, and -as a side-effect- add the result to the local DNS cache.

Advertisements
 
Leave a comment

Posted by on 2 February 2008 in cache, caching, dns, performance

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: