2

My problem is this.

Dissatisfied with the existing free DNS nameserver solutions, I decided to make my own nameservers for my websites. I'm using NSD on Debian, and it's working great. I can request a record from the server with DIG and get the correct response and all that jazz.

However, there's a catch that I can't figure out how to circumvent. In order to give my nameservers to my domain registrar, they need A records. (ns1.example.com etc.)

Here's the issue: Since I'm having these servers handle the DNS for all of my domains, I'm not sure how to create A records for the servers themselves. If I create the ns1, ns2 records inside my own server, my registrar won't be able to look them up. But in order to create those records externally so I can point a registrar to my servers, I need to register those A records with an external source, right?

How can I bootstrap the A records for my nameservers so my registrar can see them long enough to plug in? Or am I misunderstanding the problem entirely?

I hope that made a bit of sense.

Zoredache
  • 128,755
  • 40
  • 271
  • 413
Sei Satzparad
  • 221
  • 1
  • 4

1 Answers1

5

What you need is some glue (1).

Basically what you do is tell your both the name and IP address for your servers. They will make A records for your servers in the parent zone.

So if you happened to be talking about example.org, then the .org servers would have a set of records like this to delegate to you.

ns1.example.org. in a 192.0.2.10
ns2.example.org. in a 192.0.2.11
example.org. in ns ns1.example.org.
example.org. in ns ns2.example.org.
Zoredache
  • 128,755
  • 40
  • 271
  • 413
  • As of January 3rd 2012, my registrar still does not support glue. However, is it possible to simply use a third party DNS provider just to publish the A records to my nameservers? – Sei Satzparad Jan 09 '12 at 08:04
  • 3
    What registrar is that? I can't imagine how any valid registrar would be able to get away with that. – Zoredache Jan 09 '12 at 08:05
  • There was a discussion about it on DynaDot's forums, but I may have misunderstood. I'll just contact them directly. – Sei Satzparad Jan 09 '12 at 08:14
  • See: http://www.dynadot.com/community/help/question.html?aid=87 – Zoredache Jan 09 '12 at 08:20