-
Hello guys I'm still learning about DNS and Netbox DNS in general, but I currently have an issue which is totally unclear for me. In my current setup I've created a zone Zone: And an internal zone which is managed by another set of nameservers Since we want DNSSEC enabled for the internal zone I created (besides the necessary DNSSEC Conf) a DS record in example.com which was recognized by Netbox DNS as Delegation Record. So far so good I expected Netbox DNS to create a NS Record in the parent zone for the internal zone
But Netbox DNS did not create such a record. Okay so I created one manually.. But besides the fact that I can't get this record in my zonefile with my Ansible Stuff I got a warning in Netbox and the record is not recognized as Delegation record. May there is something badly wrong in my logic or I may found a bug regarding the delegation record feature? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
Hi @HB9HIL, thanks for raising this, as it sheds light on an issue that is in the works, but not currently implemented (it's more complex than it looks at first sight). You currently have a situation where you need a so-called "glue record", as the nameservers in your internal zone have names in the same zone, which technically means that you have a hen-and-egg problem: The zone can't be resolved because ethe name servers aren't known, and the nameservers can't be found because their address record is in the zone that can't be resolved. The solution are the aforementioned "glue records", which are technically not belonging in the parent zone but need to be there anyway (and the DNS resolvers do the right thing). You set them up correctly, the warning is misleading in this case and can safely be ignored - everything is fine. To get rid of the warning or even generate glue records automatically, NetBox DNS needs to do more evaluation of parent/child zone relationships. There are some corner cases that need to be taken care of, but it's definitely on my list and will eventually be implemented - with DNSSEC and NetBox 4.3 out of the way now it will be one of the next things planned for this year. The logic that needs to be implemented is:
Currently you're safe if you leave your records as they are and just ignore the warning - after all it's just a warning and you know you did the right thing, so that's fine. |
Beta Was this translation helpful? Give feedback.
-
One question: What does "I can't get this record in my zonefile with my Ansible Stuff" mean? The records are in the zone, and so they should be exportable just like any other record - where's the problem? |
Beta Was this translation helpful? Give feedback.
-
At least it won't hurt, although I couldn't find a change between 1.2.7 and 1.2.11 that is suspicious of causing this. If it's still present with 1.2.11, we'll check more closely. |
Beta Was this translation helpful? Give feedback.
-
@HB9HIL I just published 1.2.12 that takes care for it for those who are not on NetBox 4.3 yet. The real fix for the second issue will be in 1.3.1, which is due soon (waiting for NetBox 4.3.1 to be released to avoid late collisions :-) ) |
Beta Was this translation helpful? Give feedback.
Hi @HB9HIL,
thanks for raising this, as it sheds light on an issue that is in the works, but not currently implemented (it's more complex than it looks at first sight).
You currently have a situation where you need a so-called "glue record", as the nameservers in your internal zone have names in the same zone, which technically means that you have a hen-and-egg problem: The zone can't be resolved because ethe name servers aren't known, and the nameservers can't be found because their address record is in the zone that can't be resolved.
The solution are the aforementioned "glue records", which are technically not belonging in the parent zone but need to be there anyway (and the DNS resolv…