Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Change Windows DNS Settings

by Rex(Wrecks) (Curate)
on Mar 05, 2003 at 00:49 UTC ( #240500=note: print w/ replies, xml ) Need Help??


in reply to Change Windows DNS Settings

Ok, this won't work for Win9x, but a much more robust solution for Win2k/XP is the following:

netsh interface ip add dns "Local Area Connection" 10.10.10.10 index=1 netsh interface ip delete dns "Local Area Connection" 10.10.10.10
Look at the netsh for more options and details. There is a ton of stuff you can do with netsh including changing IP's, netmasks, routes, adding deleting (non-LAN) interfaces, etc.

"Nothing is sure but death and taxes" I say combine the two and its death to all taxes!


Comment on Re: Change Windows DNS Settings
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://240500]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2015-07-06 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls