This repository has been archived by the owner on May 24, 2024. It is now read-only.
Replies: 1 comment 1 reply
-
As a first approach, I implemented the solution sketched as Variant 1 in #68. Please have a look at it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just today I was thinking about what we can do with the name server information, both in the current release 0.6 and in an upcoming one that will feature views.
Currently we have a list of name servers (by name, no other information), and we can assign them to zones. That's neat functionality, but the question is what we make of the information. I see a couple of use cases that are not exactly compatible:
Variant 2 does not make so much sense to me, as that would require more information about the name servers (such as their real host names) that isn't actually in the scope of DNS.
So I tend to Variant 1, and in this case it would make sense to generate NS records from the list of name servers in the same manner as SOA and PTR records are already created. Furthermore, if an NS record is within a zone known to NetBox DNS it would also make sense to verify that the A/AAAA record for the NS name can be resolved (CNAME is not valid here, according to RFC2181, Section 10.3).
To address the resolvability issue of the NS records, I see several possible approaches. We could warn the user if the name of a name server does not resolve to anything (taking stronger measures would create hen-and-egg problems, so we should not do that), we could include the address information within the name server table (which would, however, raise issues with different views having different addresses for the same name server, making it necessary to make the name servers' address information view specific as well), or we could do nothing at all leaving the problem to the user (which is not very user friendly and misses the point of using a tool for DNS maintenance). So probably in the first approach of issuing a warning message in the zone view if the name server record cannot be resolved to A/AAAA would be a good first approach.
Beta Was this translation helpful? Give feedback.
All reactions