Easy way to Enable and Disable COMODO DNS?

Is there an easy and fast way, e.g a script or something that I can click on to easily and fast Enable and Disable COMODO DNS?

this is a batch file for google dns

netsh interface ip set dns "Local Area Connection" static 8.8.8.8
netsh interface ip add dns name="Local Area Connection" addr=8.8.4.4
netsh interface ip set dns "Connectify" static 8.8.8.8
netsh interface ip add dns name="Connectify" addr=8.8.4.4
netsh interface ip set dns "Wireless Network Connection" static 8.8.8.8
netsh interface ip add dns name="Wireless Network Connection" addr=8.8.4.4
pause

stock dns

netsh interface ip set dns "Local Area Connection" dhcp
netsh interface ip set dns "Connectify" dhcp
netsh interface ip set dns "Wireless Network Connection" dhcp
pause

Thank you, but I wanted to use COMODO DNS not Google DNS.

just replace the IP addresses (8.8.8.8 and 8.8.4.4) with what ever you one you want to use.

Ah I understand now, thank you: :wink:

But what are COMODO’s numbers I need to add?

Can you please add the scripts again, but this time please use COMODO DNS numbers.

And by the way when I run that script, I get these errors:

netsh interface ip set dns “Connectify” static 8.8.8.8
The filename, directory name, or volume label syntax is incorrect.

netsh interface ip add dns name=“Connectify” addr=8.8.4.4
The filename, directory name, or volume label syntax is incorrect.

What does that mean and how do I fix it?

Are you using Connectify? If not, you don’t need those lines.

The SecureDNS addresses can be found here: Secure DNS

First, from a command prompt run:

netsh interface ip show config

At the top of the output will be the name of your connection, usually, with a single adapter it will be:

Configuration for interface “Local Area Connection”

Once you know the name, you can create a two line batch file to change the servers:

Netsh interface ipv4 add dns “Local Area Connection” 8.26.56.26
Netsh interface ipv4 add dns “Local Area Connection” 156.154.70.22 index=2

The two lines above are for the Primary and Secondary Comodo DNS servers, currently suggested. When the Beta has finished, the secondary server will probably change from 156.154.70.22 to 8.20.247.20

If you want to set the DNS back to Automatic:

netsh interface ip set dns name=“Local Area Connection” source=dhcp

If you have other connection types, you’ll need to add commands to change the DNS for those too.

What is Connectify? And do I need it? And how do I know if I have it?

Your Hotspot, Your Way - Connectify

Ok thanks:)