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 know my question may be a big ambiguous, but I'll strive to explain in the description.

The scenario is this. I have three nameservers, which are Debian VPSes which just run bind9 on a Debian 6 32 bit minimal system. These provide DNS service for 6 different sites.

I have set the following A entries for my main domain, whose name provides the FQDN for all three nameservers:

ns1.mydomain.com -> A -> IP of ns1 server
ns2.mydomain.com -> A -> IP of ns2 server
ns3.mydomain.com -> A -> IP of ns3 server

The DNS entries for mydomain.com have so far been set on a third party server, dnsever.com. Having my own nameservers, I'd like to drop dnsever and use these three servers to provide DNS for my primary domain too, if it's possible.

However, when I setup nameserver entries on my domain registrar, for my primary domain (whose name qualifies the nameservers), it asks for FQDNs for the nameservers from which it determines their IP addresses, and I'm sure that setting ns1.mydomain.com, ns2.mydomain.com there is wrong, since before making ns1.mydomain.com resolve to the IP of the nameserver, I cant use the DNS name. It seems sort of a chicken and egg situation here, unless I'm totally missing the point.

Without using a third party DNS service, how can I use my own three servers to provide independent service to resolve even the FQDNs of themselves?

share|improve this question
2  
    
dig +trace +additional ns1.google.com will show you how it works. Everyone ignores the ADDITIONAL section until DNS breaks their brain. –  Andrew B Jun 17 '13 at 13:48
    
I searched high and low on my registrar, Crazydomains, for a way to set glue records. However the only thing I found was something called "Host records" and "Nameservers". Setting them led to the sites being down for hours. Finally had to switch back to DNSever. –  Droidzone Jun 17 '13 at 16:31
add comment

1 Answer

Typically your registrar will be willing to provide the necessary glue records for your nameservers. Some will provide an interface for this; for others, you may have to email their support. They should be able to provide A and AAAA records for your nameservers on your request.

These records will be carried by the TLD root servers alongside the NS record for your domain, so that recursive queries are possible.

share|improve this answer
    
Not to the DNS root, to the parent zone (.com if your domain si example.com) –  bortzmeyer Jun 17 '13 at 19:40
add comment

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.