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 problem when I want to host my nameserver inside local network.

I have a registered domain (example.com).

I want to host the nameserver of "local.example.com" inside my local network.

I want The nameserver in my local network to define the records for "local.example.com".

I set The NS record for the "local.example.com" to "ns-local.example.com".

The IP of "ns-local.example.com" is "192.168.1.243".

We have a separated recursive DNS server in our LAN, which we can not use for any authoritative DNS server.

I Set the A record for local.example.com in "ns-local.example.com" to "192.168.1.10".

When I ping the local.example.com, it resolves to 67.215.66.132 (servfail.guide.opendns.com)!!!!

When I run the command "dig local.example.com +trace" inside my local network I get the correct result ("192.168.1.10" for A record).

All nameservers use BIND.

thank you in advance for your help

share|improve this question
    
Do you have a delegation in the public DNS for the local.example.com name? –  Shane Madden Aug 1 '12 at 5:03
    
Thank you for your reply. Yes, I defined The NS record of local.example.com in the public DNS of the domain "example.com" like the follwoing: –  Farzaneh Aug 2 '12 at 6:20
    
local IN NS ns-local.example.com. –  Farzaneh Aug 2 '12 at 6:50
    
ns-local IN A 192.168.1.243 –  Farzaneh Aug 2 '12 at 6:50

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.