Public DNS Server Tool is a small utility for changing the DNS servers in Windows XP, Vista, 7, 8, 8.1 and 10 on the fly.
In the past few years, many public DNS servers have been made available for everyone’s use. Some of them are Cloudflare DNS, 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 Server Tool, using which you can easily set the domain name 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), Windows 8 (64-bit) and Windows 10 (32-bit).
You can use a Public DNS Server Tool to quickly switch to a preset pair of public DNS servers. Currently, it has sixteen preset pairs of DNS servers —
- Google Public DNS
- Cloudflare DNS
- Verisign DNS
- OpenDNS FamilyShield (blocks sites inappropriate for family)
- Yandex Basic DNS
- Yandex Safe DNS
- Yandex Family DNS
- Norton ConnectSafe A (blocks malicious sites)
- Norton ConnectSafe B (blocks malicious sites + obectionable sites)
- Norton ConnectSafe C (blocks malicious sites + objectionable sites + non-family sites)
- Comodo Secure DNS (blocks malicious sites)
- Neustar General
- Neustar Threat Protection
- Neustar Family Secure
- Neustar Business Secure
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
- Download Public DNS Server Tool to your computer.
- Unzip it to any folder you want on your hard disk.
- 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, Windows 8 or Windows 10, then you will be shown UAC (User Account Control) and would be asked to provide administrator login.
- 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.
- Choose your Network Interface Card (NIC) from the dropdown list box. If you have only one NIC, then it will be pre-selected. As you select a 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.
- 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.
- 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 184.108.40.206, and secondary DNS server is 220.127.116.11. Then just open the servers.ini file in Notepad and add the following at the end of the file :
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.
This is great. We also need a way to set the option back to automatic.
i have a desktop pc and am under windows10 pro 64bit
-I live in France.I have an internet box sfr nb6
-I want to use the cloudflare dns: 18.104.22.168 and 22.214.171.124
-I have a dynamic IP address that changes every 3 weeks / 1 month
I want to use your software public dns server tool. Will public dns server tool work well with my dynamic IP address?
Thank you in advance for your answer
Yes, it should work well. Make sure you create a backup first.
Would be much nicer to have the ability to edit the .ini right from the GUI rather than hand edit an ini.
don’t go russia yandex DNS, it is very danger,
it sudden pop up rus malware advertisements without warning
even if i use ublock origin
my firewall detect it is malware advertisements
Version 2.3 Current DNS text is in chinese
Win7 only 32bit ??
Any thoughts about adding IPV6?
Yes, I am thinking to add IPv6, but I am getting lazy
Thanks for the great tool. If possible please add option to..
a) purge the DNS Cache
b) Clear DNS cache automatically on each DNS change
c) Option for user to Add/Delete Custom DNS Server addresses
Thanks for the suggestions. DNS cache is auto-cleared after every DNS change, but individual applications like web browsers might hold their own DNS cache of a few websites. For this, you have to restart those applications. All applications have their own ways of handling the DNS cache.
You can manually edit servers.ini to add/delete custom DNS servers. But I will try to add it on the right-click menu as soon as I get some free time. Thanks again.
the tool was still at version v2.2, and the preset dns servers does not include cloudflare’s 126.96.36.199.
Hoping for your new version to be published.
Thanks for letting us know. We linked the wrong version by mistake. Now it is downloading newer version 2.3. Thanks again.
I want on Who dont ask me for adminateur count
Admin account is necessary to make the DNS changes.
Hi !I am a common user without knowing much about computers I did not back up at first but afterwords but that is not my server anymore. Any help to bring back my server ? Thank you !
Don’t worry. Google’s DNS (188.8.131.52) or OpenDNS (184.108.40.206) work for everyone. And if you want your ISP’s DNS then you can find the information on your ISP’s website or call them on their helpline number.
“DNS server” [sic], really?
Why not teach them a shortcut to call up the windows UI that would otherwise be a click adventure?
What is your decision tree for identifying bridged interfaces?
Many thanks. it hleps a lot!
Very useful utility… thanks!
Thank you 🙂
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 ?
Sure. I am going to do this today 🙂
I have updated PublicDNS Tool to load servers from servers.ini. Please let me know of any bugs.
cool !! Thank you very mutch !
Comments are closed.