Local DNS Server for faster DNS response time


Here\’s a quick tip for faster DNS response time. I installed a local DNS server which can contact the remote DNS server and enabled caching for the local DNS server. This ensures that the response time for the DNS queries is much faster.

I am on Fedora 10, so here\’s what I was required to do:

yum install dnsmasq

After this I created a file called /etc/resolve.dns with the nameserver address\’s and heres what it looks like:

nameserver 1.1.1.1
nameserver 2.2.2.2

And then configure the DNS server to use the newly created file for the DNS name resolution.

resolv-file=resolv.dns

And then configure your network interface to listen to the local interface and you are done. So now when a DNS query is made for the first time, the local DNS server queries the servers given in the file.  So enjoy a little faster browsing time.

About Amit Agarwal

1 Comment on “Local DNS Server for faster DNS response time”

4 Trackbacks on “Local DNS Server for faster DNS response time”

  1. Pingback: Dns Server - Ardub
  2. Pingback: Dns Server - MeMiM