Nov 06
262 views
This tip shows you how to improve DNS lookups by using multiple nameservers. This is useful if you’ve ever had your primary DNS server become unreachable for any reason.
Nameservers are listed in /etc/resolv.conf, one per line.
Code Listing 1: Example /etc/resolv.conf
nameserver 192.168.1.1 nameserver 10.0.0.1
To improve DNS lookups, add multiple DNS servers (preferably on different subnets) and the following options to /etc/resolv.conf:
Code Listing 2: /etc/resolv.conf options
options rotate options timeout 1
This will use both nameserver in rotation and wait max. 1 second for answer before trying the next one.
Liked this article? To continue getting our latest free Howtos and Tutorials,
you can also grab the RSS feed or Subscribe to Techgurulive by Email
you can also grab the RSS feed or Subscribe to Techgurulive by Email
Not Getting
Related postsHow To Find Out What My DNS Servers Address How DNS Works How to Configure Multiple IP Address on a Cisco Router Interface How To Install and Configure Caching DNS on Fedora How to Install and Configure a Caching DNS server How to Install and Configure Caching DNS on Fedora How to Improve MySQL Replication Performance How to Split and Merge Multiple Linux Files 28 Steps on how to harden your Linux server How to enable Sendmail Multiple Queues































January 19th, 2009 at 7:55 am
Lookup Name Servers of a website using this free online tool at: tools.khrido.com/webtools/mx-ns-soa-lookup.aspx