Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

DNS changer script - netsh

Options
  • 28-12-2012 9:26pm
    #1
    Banned (with Prison Access) Posts: 890 ✭✭✭


    Hi folks, I'm trying to set up a fool proof way to switch dns server for my parents.

    I found out about netsh and figured the best way to do it would be a bat script on the desktop that could be run with admin rights.

    this is what I've come up with
    netsh dnsclient set dnsservers name="Local Area Connection" source=static address=208.67.222.222
    
    this runs without any errors but it does not have any effect on the dns settings.

    I'm stumped, can anyone tell me what I'm doing wrong?

    thanks for reading.


Comments

Advertisement