peteeckel / netbox-plugin-dns

NetBox DNS is a NetBox plugin for managing DNS data.
https://pypi.org/project/netbox-plugin-dns
MIT License
204 stars 16 forks source link

Warn when a CNAME value should be in NetBox DNS but is not #437

Closed peteeckel closed 1 month ago

peteeckel commented 1 month ago

Is your feature request related to a problem? Please describe. For CNAMEs it occurs rather frequently that there is a typo in the value field (most notably an omitted trailing dot for FQDNs), which leads to hard-to-detect DNS errors.

Describe the solution you'd like If possible, the value of a CNAME should be checked against data in NetBox DNS. The above error can be detected if the zone of the CNAME records's value is in NetBox DNS, but there is no record matching the value's FQDN. In that case, a warning message should be displayed.

Additional context This will not catch all errors of that kind, but many common cases will be detected.