Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 21 Apr 2014, 07:58
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Speed up Browsing by using better DNS servers.
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
ETP


Joined: 19 Oct 2010
Posts: 486
Location: UK

PostPosted: Sun 23 Sep 2012, 02:37    Post subject:  Speed up Browsing by using better DNS servers.
Subject description: (No changes to your router required)
 

Using the fastest and most reliable DNS servers for your particular location can dramatically improve browser performance.

Typically a DSL modem/router will request DNS servers from your ISP at each boot or be pre-programmed with a couple.
In either case they are likely to be reliable but not the fastest. A gain of say 15ms may not sound like much but will be multiplied up when you surf a typical site that does hundreds of lookups to "enhance your browsing experience" together with the current pre-emptive behaviour of browsers.

The method described here involves no changes to your router setup but rather supplements it using a facility already built into Puppy.

Briefly it entails first finding out the two best DNS servers for your location and then creating one simple text file populated with that information. (Tested under Slacko 5.3.3.2 with Wine-1.5.6-i486_v1)

STEPS:
1. Download "DNS Benchmark" from here:

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

(It runs under Windows or Linux (with Wine) and requires no installation in either. Simply click on the .exe file to launch.)

2. Launch Benchmark and then click on "Run Benchmark". At the end of this first run you will be offered the opportunity to create a custom top 50 list for your location. It is vital that you do so. This takes about 30 odd minutes as it scans over 4000 servers globally and then produces a custom .ini file which it places in the same directory that it was launched from.

3. Exit Benchmark and then re-launch it and do another run which will use the .ini file for your specific location.

4. In your “etc” directory create a text file with Geany named “resolv.conf.head” as follows but with the two best DNS I/P addresses for your location.



Each time a networked connected Puppy boots it creates a file in the “etc” directory named “resolv.conf.” When you reboot you will find that the two addresses have been prefixed to that file followed by your 2 usual addresses or the gateway address of your router if it uses DHCP to obtain DNS servers.
In effect you now have 4 DNS servers - the new, followed by the original. Should both new ones fail your system will default to using the original ones.




Final thoughts:

a. This method is more resilient than re-configuring your router and also simpler.

b. It is worth running the scan again say every 6 months to check that the chosen servers are still the best.

c. The solid green buttons in "DNS Benchmark" signify your current servers.

d. Make sure you check out the conclusions tab.

e. Some screenshots of "DNS Benchmark" follow.......... Happy browsing.
3Top_50.png
 Description   
 Filesize   57.98 KB
 Viewed   1089 Time(s)

3Top_50.png

22.png
 Description   
 Filesize   47 KB
 Viewed   1083 Time(s)

22.png

11.png
 Description   
 Filesize   40.93 KB
 Viewed   1089 Time(s)

11.png


_________________
Regards ETP
Accessibility Pups: -- Magoo -- The Pup With No Name -- MouseCam -- Obedient
Back to top
View user's profile Send private message 
Monsie


Joined: 01 Dec 2011
Posts: 633
Location: Kamloops BC Canada

PostPosted: Mon 24 Sep 2012, 03:11    Post subject: Speed up Browsing by using better DNS servers.  

Nice find, ETP

Steve Gibson is known for some solid work in the area of computer security, eg, testing how good your firewall operates...

Quote:
2. Launch Benchmark and then click on "Run Benchmark"... This takes about 30 odd minutes as it scans over 4000 servers globally and then produces a custom .ini file which it places in the same directory that it was launched from.


I am a bit surprised at how long it takes to get the results. I haven't tried Benchmark (yet) because I don't run Wine, so not able to test this myself. However, for comparison, I just finished running Google's Namebench and I got my results in 10 min. & 31 sec. That's quite a noticeable difference, and I am wondering what accounts for it... apparently both programs scan a similar number of servers initially.

While it is always good to have choices available, if I am Joe Average User... I will likely pick Namebench over Benchmark for speed of results alone.

just some food for thought,
Monsie

_________________
My username is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.
Back to top
View user's profile Send private message 
ETP


Joined: 19 Oct 2010
Posts: 486
Location: UK

PostPosted: Mon 24 Sep 2012, 04:22    Post subject: Re: Speed up Browsing by using better DNS servers.  

Hi Monsie,

Thanks for your interest and comments. I suspect that Google majors on speed and Steve Gibson on reliability. The ability to narrow the search down to a country in Namebench also helps. I note also that it uses your browser caches as a source which is fine provided that you do not clear them manually before exiting or routinely keep them in tmp so that they are not saved.

The best ploy is to try both and if the results agree so much the better. In any event I would commend creating the “resolv.conf.head” file as there is no need to modify your network configuration be it static or dynamic in Puppy or on your router.

_________________
Regards ETP
Accessibility Pups: -- Magoo -- The Pup With No Name -- MouseCam -- Obedient
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0647s ][ Queries: 13 (0.0209s) ][ GZIP on ]