Public DNS Server Tool

Public DNS Server Tool is a small utility for changing the DNS servers in Windows XP, Vista, 7 and 8 on the fly.

Public DNS Server Tool

In the past few years, many public DNS servers have been made available for everyone’s use. Some of them are OpenDNS, Google, Norton, Comodo Secure etc. These DNS servers offer many security and protection layers in addition to being very fast. Even though these public DNS servers are available for everyone’s use, setting up DNS servers in Windows is not an easy task. Therefore, I have created this little tool Public DNS Servers Tool, using which you can easily set your DNS servers in Windows.

It has been tested to work in Windows XP Professional SP3 (32-bit), Windows Vista SP2 (32-bit), Windows 7 (32-bit) and Windows 8 (64-bit).

You can use a Public DNS Server Tool to quickly switch to a preset pair of public DNS servers. Currently, it has eight preset pair of DNS servers —

  1. Google Public DNS
  2. OpenDNS
  3. OpenDNS FamilyShield (blocks sites inappropriate for family)
  4. Norton ConnectSafe A (blocks malicious sites)
  5. Norton ConnectSafe B (blocks malicious sites + pornography sites)
  6. Norton ConnectSafe C (blocks malicious sites + pornography sites + non-family sites)
  7. Comodo Secure DNS (blocks malicious sites)
  8. DNS Advantage

Backup and Restore

Public DNS Server Tool allows you to backup your DNS server settings. To backup, select Backup → Backup from the menubar. It would ask you a location where you want to save the backup file. The backup file is automatically named with current date and time in the DD-MM-YYYY HH-MM-TT format. The backup file is in the standard Registry script (.REG) format, so you can just double-click on it to restore the DNS server settings inside it. However, it also allows you restore DNS setting from within the Public DNS Server Tool. To restore, select Backup → Restore from the menubar. It would ask you to select a backup REG file. The entries inside the reg file would be automatically inserted into the Windows Registry and DNS servers would be updated.

Setting up public DNS servers

  1. Download Public DNS Server Tool to your computer.
  2. Unzip it to any folder you want on your hard disk.
  3. Run Public DNS Server Tool by double-clicking on PublicDNS.exe. Since this tool makes changes to your DNS server settings, it requires administrator privileges. If you are running Windows XP, then you should be logged in as an administrator. If you are running Windows Vista, Windows 7 or Windows 8, then you will be shown UAC (User Account Control) and would be asked to provide administrator login.
  4. First of all backup your current DNS servers by selecting Backup → Backup from the menubar. This is very useful, if you later want to restore your original DNS servers.
  5. Choose your Network Interface Card (NIC) from the dropdown listbox. If you have only one NIC, then it will be pre-selected. As you select an NIC card, the current DNS server configured for the selected NIC would be shown in big blue text. You can select the checkbox labeled Select all to select all the NIC cards in your system.
  6. Choose a set of public DNS servers from the list. As you select a DNS server, their description would be visible below the list. From the description, you can learn about what benefits a DNS server provides. The website of the selected DNS server is also given.
  7. Finally, click on the Change button at the bottom of the window. It would take a few seconds to change the DNS servers. If even after changing the DNS servers, you see your browser using previous DNS servers, then either press Ctrl + F5 to reload the webpage or restart your web browser.

Please note that DNS server settings are changed only for the selected network interface card. If you have more than one network interface cards, then you should choose the one you use to connect to the internet. You can also choose all the NIC cards, by selecting the checkbox labeled Select all. This way you can change the DNS servers for all the NIC cards in a single click.

If even after changing the DNS servers, you see your browser using previous DNS servers, then close and restart your browser again. If even after restarting the browser, changed DNS servers are not being used, then you may have to restart the Windows.

Adding More Servers to servers.ini

Starting from the version 2.1, Public DNS Server Tool stores all the server data in the servers.ini file. If this file does not exist in the same folder as the PublicDNS.exe, then it creates a default servers.ini file loaded with eight well-known publicly available DNS servers. But if you want to add more DNS servers, then you can simply edit this file and add more servers.

For example, suppose you want to add DNS servers from your own ISP (say RoadRunner) and their primary DNS server is 24.25.227.55, and secondary DNS server is 24.25.227.53. Then just open the servers.ini file in Notepad and add the following at the end of the file :

[RoadRunner]
address=24.25.227.55, 24.25.227.53

There should be no space between ‘address’ and ‘=’, or it will fail to load. You will have to close Public DNS Server Tool and restart it, so that it can load newly added servers from the servers.ini file.

  • Blackcrack

    Hi,
    nice new web page :) but therewith be remove the comment also : too bad .. how ever.. can you add on the DNS-Server-Tool an textbased listing where can add or configuration his own dns-servers ?
    best regards
    Blacky

    • http://www.trishtech.com/ Trisha P.

      Sure. I am going to do this today :)

    • http://www.trishtech.com/ Trisha P.

      I have updated PublicDNS Tool to load servers from servers.ini. Please let me know of any bugs.

      • Blackcrack

        cool !! Thank you very mutch !
        best Regards
        Blacky

  • http://www.trishtech.com/ Trisha P.

    Thank you :)

  • http://tshero.com/ Eric K. Cone

    Very useful utility… thanks!

  • http://louishan.com/ Louis Han

    Many thanks. it hleps a lot!

  • http://alturl.com/bxeoe jovibona

    What is your decision tree for identifying bridged interfaces?

  • http://alturl.com/bxeoe jovibona

    Why not teach them a shortcut to call up the windows UI that would otherwise be a click adventure?

  • http://alturl.com/bxeoe jovibona

    “DNS server” [sic], really?