I would like to use Google Public DNS (, at home, but the school firewall works through DNS, so using a custom name server disables accessing the internet.

Is there any way to automatically use Google DNS at home, but switch to auto-configure when at school?

It's annoying to have to switch it between home and school. I do this because I notice significant speed increases versus the Comcast DNS. I'm on Windows 7 Home Premium x64, and I'd have no issue with installing third-party software or scripts in order to solve the issue.


Sometimes access to the router is not an option. Check out NetSetMan. It lets you define settings per network.

enter image description here

Also, here is the link to the blog about this tool and other similar ones, which got me to try the application in the first place.

  • Downloading as we speak :) – yutsi Mar 13 '12 at 15:01
  • Although not open-source, it works perfectly. I already found an alternate solution (Setting Google's DNS in my router config) but I'm sure it will come in handy in the future. – yutsi Mar 13 '12 at 15:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.