Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a Windows server set up as a webserver but I am also running my DNS on the same machine (I know this is bad practice). I have the domains default zone webserver.hosting.local as well as my website zone example.com. Now whenever I dig ns example.com it returns webserver.hosting.local. as one of my name servers. What do I need to configure to stop this from happening? I note that webserver.hosting.local is an ns record on the default zone.

share|improve this question
    
Question - Have you tried to dig a public DNS server? –  Michael Jan 29 '13 at 13:23
    
Yea I've used google (8.8.8.8) and this website kloth.net/services/dig.php, both include the .local address in the ns records. –  Luke Jan 29 '13 at 13:25
    
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. –  Khaled Jan 29 '13 at 13:47

1 Answer 1

up vote 0 down vote accepted

So I tried everything from restarting the dns service to clearing the cache but nothing worked. Finally solved it by rebooting the server which caused the .local ns record to show up in the wrong zone. I then removed it and its all working correctly.

share|improve this answer

Your Answer

 
discard

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.