Choosing or testing a DNS

D

DelJo63

Choosing a DNS

When we allow DHCP to configure the TCP/IP settings of our system(s), we usually get those of our ISP.
Our public IP address and the Gateway address map into the addresses of that ISP (it has to else routing will fail).
The other piece that we get is the DNS addresses which also typically belong to that ISP.
However, this is one we can set independently and`perhaps get some benefits in doing so:
  • picking a well managed DNS can avoid cache poisoning,
  • if chosen well, can avoid redirections when the url does not map into an IP address

How can we specifiy our choice of DNS addresses?
There are two ways to alter the DNS settings:
  1. Alter the TCP/IP settings of the LAN connection on each system
  2. Alter the DNS settings in our router which will then get propagated to all attached system

How can we test DNS performance and redirection?
I found a DNS Benchmark Tool from www.grc.com which will tell you a lot of useful information
on the DNS. The web pages contain lots of good stuff and you really out to read all of it,
but the program itself is easy to use.

download the test program @ https://www.grc.com/dev/DNSBench.exe

the USAGE information is found at http://www.grc.com/dns/operation.htm

The attachment is a list of well known ISP DNS addresses, the google-public-dns-a.google.com
and the OpenDNS servers all of which you can add to your test to determine if one of would be better for you.
On the NameServers Tab, click Add/Remove and you can enter as many DNS IP-addresses as you like.

After running the test, be sure to click on the Conclusion Tab to see the recommendations. Personally, I found this warning
This system's nameserver intercepts name errors.
and to avoid as many redirections as possible,
I have elected to use DNS settings that provide both speed and no redirections.

Before you close the Benchmark Tool, save your test configuration to an INI file for next time
by clicking Nameservers Tab -> Add/Remove button and Save Nameservers to .INI File
(it will be saved to the same dir as the tool itself).
 

Attachments

  • Local DNS settings.txt
    1.4 KB · Views: 4
Back