Monday, April 25, 2011

Increase browsing speed little more by using own DNS resolver server.

Using self hosted DNS server can get your browsing speed little bit faster. Because it will be reducing your round trip time for a DNS query. Look the below pictures.

 The above picture shows that when I am using my ISP's DNS server there is approx. 51 ms of round trip time for communicating with that server.


This picture shows that a server hosted on localhost (127.0.0.1) has the minimum round trip delay of less than 1ms. So if we have our DNS resolver server on localhost then it will take less than 1ms to resolve a DNS query.

I have been using a personal computer since I was in 7th grade. In early years I used to have a low configuration PC but I wanted to use its maximum power. And high performance computing was always a passion for me. That passion still remains and every time I want to get lil bit more from what I have, So do from my internet connections :p

In this article i am going to show you how you can have running a own recursive caching DNS server to resolve your DNS queries to browse internet more faster. I have used Deadwood that is MaraDNS 2.0's recursive resolver and customized it for easy installation so you don't have to configure it manually. All you have to do is download Deadwood from here. (Using Bind can be difficult for non-techies) . Unzip is to C:/ or any other folder you like. Right click install.bat and Run as Administrator.
If you have problems just run mkSecretTxt.exe with administrator rights. un-installation procedures are same with uninstall.bat file.

Then go to your current network adapter properties and change TCP/IP settings like below.

Here first one is your localhost address (127.0.0.1) and second one is ISP's dns server which you can leave blank if you want (in my case its my router's address).
Restart your PC. Have fun.
PS: for first time you run your dns server it can take some time to resolve query as because its a recursive cache server. but later you will have super fast dns query. just cheers.

0 comments:

Post a Comment