Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2013, 04:41:07 AM

Login with username, password and session length

664116 Posts
70642 Topics
145275 Members

Latest Member: peto.peter

Search:     Advanced search | Tag Cloud
+  Welcome to the Comodo Forum
|-+  Security Products & Services
| |-+  Comodo Secure DNS - DNS
| | |-+  Help - DNS
| | | |-+  Easy way to Enable and Disable COMODO DNS?
« previous next »
Pages: [1] Go Down Print
Author Topic: Easy way to Enable and Disable COMODO DNS?  (Read 7119 times)
LisaKelly
Comodo Family Member
***
Offline Offline

Posts: 68


« on: May 04, 2012, 05:44:43 PM »

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?
Logged
languy99
Global Moderator
Comodo's Hero
*****
Offline Offline

Posts: 3943



« Reply #1 on: May 04, 2012, 06:06:04 PM »

this is a batch file for google dns

Code:
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

Code:
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
Logged

http://www.youtube.com/languy99

Software Reviews for all.

Follow me on Twitter http://twitter.com/#!/languy99
LisaKelly
Comodo Family Member
***
Offline Offline

Posts: 68


« Reply #2 on: May 05, 2012, 03:03:18 AM »

Thank you, but I wanted to use COMODO DNS not Google DNS.
Logged
languy99
Global Moderator
Comodo's Hero
*****
Offline Offline

Posts: 3943



« Reply #3 on: May 05, 2012, 08:23:12 AM »

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

http://www.youtube.com/languy99

Software Reviews for all.

Follow me on Twitter http://twitter.com/#!/languy99
LisaKelly
Comodo Family Member
***
Offline Offline

Posts: 68


« Reply #4 on: May 05, 2012, 05:02:53 PM »

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?
« Last Edit: May 05, 2012, 07:07:22 PM by LisaKelly » Logged
HeffeD
Global Moderator
Comodo's Hero
*****
Offline Offline

Posts: 6577



« Reply #5 on: May 05, 2012, 07:58:25 PM »

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

The SecureDNS addresses can be found here: Secure DNS
Logged

Radaghast
Star Group
Comodo's Hero
*****
Offline Offline

Posts: 4044



« Reply #6 on: May 05, 2012, 08:22:46 PM »

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.
Logged

“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.”
LisaKelly
Comodo Family Member
***
Offline Offline

Posts: 68


« Reply #7 on: May 06, 2012, 12:26:07 AM »

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

The SecureDNS addresses can be found here: Secure DNS

What is Connectify? And do I need it? And how do I know if I have it?
Logged
Radaghast
Star Group
Comodo's Hero
*****
Offline Offline

Posts: 4044



« Reply #8 on: May 06, 2012, 12:42:34 AM »

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

Your Hotspot, Your Way - Connectify
Logged

“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.”
LisaKelly
Comodo Family Member
***
Offline Offline

Posts: 68


« Reply #9 on: May 06, 2012, 06:01:17 PM »

Ok thanks:)
Logged
Tags:
Pages: [1] Go Up Print 
« previous next »
Jump to:  

SSL Certificate Free Virus Removal Firewall
Page created in 0.044 seconds with 22 queries.
Powered by SMF 1.1.18 | SMF © 2006, Simple Machines Design by 7dana.com