Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to change the nameservers of a specific domain locally? (On windows) I want to test a new nameserver setup before actually switching the domains dns.

I can redirect the domain in the "hosts" file, but i would like the whole DNS to change.

share|improve this question

migrated from Mar 1 '13 at 13:20

This question came from our site for professional and enthusiast programmers.

up vote 2 down vote accepted

You can't really change DNS for a domain at the OS level, but you can play around with the new server using nslookup. Just run nslookup and enter the command server a.b.c.d (where a.b.c.d is the IP of your new server. You can then enter names for the server to resolve and see the responses.

share|improve this answer
Thank you. Even though it's not the perfect solution, it does the trick. – Jeppe Mar 1 '13 at 11:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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