peteeckel/netbox-plugin-dns

With record value validation it's no longer possible to define a `CNAME` to `@`

peteeckel opened this issue · 0 comments

Versions
NetBox Version: 4.0.0
NetBox DNS Version: 1.0.0 + PR #257
Python Version: 3.11.0

Describe the bug
When trying to add a CNAME to @, the value is declined by validation.

Screenshot 2024-05-09 at 10 23 30

This is caused by the fact that domain name validation does not allow the empty label, which resolves to the name of the domain containing the record.