Changing DNS servers in Windows XP through DOS

  • Thread starter Thread starter Tiger
  • Start date Start date
T

Tiger

Is there a command that I can use to change the DNS servers in a DOS
environment in Windows XP?
 
Is there a command that I can use to change the DNS servers in a DOS
environment in Windows XP?

In a command window, enter
netsh int ip set dns /?

That should get you started.
 
Is there a command that I can use to change the DNS servers in a DOS
environment in Windows XP?

In a command window, enter
netsh int ip set dns /?

That should get you started.

--
Cheers,
Chuck, MS-MVP [Windows - Networking]http://nitecruzr.blogspot.com/
Paranoia is not a problem, when it's a normal response from experience.
My email is AT DOT
actual address pchuck mvps org.

Thanks for the help there. I got it to work to set the primary but I
didn't see in the help function if I could set a secondary or
alternative DNS server. Anyone can help me here?

Tom
 
Is there a command that I can use to change the DNS servers in a DOS
environment in Windows XP?

In a command window, enter
netsh int ip set dns /?

That should get you started.

--
Cheers,
Chuck, MS-MVP [Windows - Networking]http://nitecruzr.blogspot.com/
Paranoia is not a problem, when it's a normal response from experience.
My email is AT DOT
actual address pchuck mvps org.

I think I just answered my followup question:

netsh int ip add dns "Local Area Connection" <ip address> index=2

Thanks for the help there chuck.

Tom
 
I think I just answered my followup question:

netsh int ip add dns "Local Area Connection" <ip address> index=2

Thanks for the help there chuck.

Tom

Glad to help, Tom. Thanks for the update.
 
Back
Top