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 <span style="text-decoration: line-through;">1.1.1.1
nameserver <span style="text-decoration: line-through;">2.2.2.2
And then configure the DNS server to use the newly created file for the DNS name resolution.<span style="text-decoration: line-through;">
resolv-file=resolv.dns<span style="text-decoration: line-through;">
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.
Related Articles:
- 2010/04/21 Upgrade to Fedora 13 from your existing version using yum.
- 2010/04/12 Liquid rescale and remove objects from the images.
- 2010/04/12 Afraid Dynamic DNS client in Fedora with Email indicating the changed to original IP.
- 2010/03/16 Edit a File When You Are Viewing It Using more / less Command
- 2010/03/12 Fedora 12 Released
Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.