Forum Home
Press F1
 
Thread ID: 103888 2009-10-09 20:22:00 set dns using cms zodehala (15329) Press F1
Post ID Timestamp Content User
818683 2009-10-09 20:22:00 i am using following command to set dns but i cant secondary dns why ?


netsh interface ip set dns name="lan" static 208.67.221.221
netsh interface ip add dns name="lan" 208.67.220.220 index=2
zodehala (15329)
818684 2009-10-09 21:15:00 Which OS are you running? wratterus (105)
818685 2009-10-09 21:59:00 Which OS are you running?
He's running Windows - netsh is a Windows utility.
Erayd (23)
818686 2009-10-10 08:52:00 Which OS are you running?

windows XP_SP3_EN
zodehala (15329)
818687 2009-10-10 20:27:00 anybody knows ? zodehala (15329)
818688 2009-10-11 00:46:00 Why do you need to to set DNS via command line?

Have you tried Googling?
Blam (54)
818689 2009-10-11 00:49:00 Why do you need to to set DNS via command line?

Have you tried Googling?
Blam (54)
818690 2009-10-11 01:06:00 think you need to name what connection you want to have the secondary dns settings for not just say netsh interface ip nedkelly (9059)
818691 2009-10-12 02:13:00 I had one a while back for XPSP3 that looked like this, it seemed to work...


netsh interface ip set address name="Local Area Connection" source=static addr=192.168.1.229 mask=255.255.255.0
netsh interface ip set address name="Local Area Connection" gateway=192.168.1.1 gwmetric=0
netsh interface ip set dns name="Local Area Connection" source=static addr=60.234.1.1
netsh interface ip add dns name = "Local Area Connection" addr =60.234.2.2

Maybe try copying and pasting that, just replace the 'Local Area Connection' with the exact name of your network connection, again copying and pasting is your best bet. And change the DNS settings too obviously...

www.astahost.com

That gives a good guide.
wratterus (105)
1