Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate glue records #11

Open
8191 opened this issue Feb 8, 2015 · 2 comments · May be fixed by #14
Open

Generate glue records #11

8191 opened this issue Feb 8, 2015 · 2 comments · May be fixed by #14

Comments

@8191
Copy link
Contributor

8191 commented Feb 8, 2015

If NS server is not part of actual zone, a sticky record should be added, if the A record of the NS part is known to ONA.

@mattpascoe
Copy link
Member

I think I understand what it is you are requesting here but could you provide a bit more detail so that I can ensure I understand your request. Thanks.

@8191
Copy link
Contributor Author

8191 commented Feb 11, 2015

Sorry, the correct term for that would be "glue record".

Assume your zone bar.net looks like:

$ORIGIN bar.net.
@                  IN  SOA   dns1.foo.bar.net. hostmaster (123 28000 3600 240000 3600)
bar.net.           IN  NS    dns1.foo.bar.net.
bar.net.           IN  NS    dns2.kilo.bar.net.

One would require the A or AAAA records of dns1.foo.bar.net or dns2.kilo.bar.net to ever correctly retrieve the bar.net zone or any of its sub-zones (which in fact contains the DNS server of the zone itself). Therefore the zone should be extended by

dns1.foo.bar.net.  IN  AAAA  2001:0DB8::4ACD:ABCD
dns2.kilo.bar.net. IN  A     203.0.113.4

Bind also kindly reminds you to do so, in case it was forgotten (as currently the case with ONA build_bind):

zone bar.net/IN: NS 'dns1.foo.bar.net' has no address records (A or AAAA)
zone bar.net/IN: NS 'dns2.kilo.bar.net' has no address records (A or AAAA)

@8191 8191 changed the title Add sticky records Generate glue records Feb 11, 2015
@chuhn chuhn linked a pull request Nov 1, 2018 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants