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

DNS Record name validation causes exception when editing records with excessively long names #81

Closed
peteeckel opened this issue Oct 20, 2023 · 0 comments · Fixed by #82
Labels
bug Something isn't working

Comments

@peteeckel
Copy link
Owner

Versions
NetBox Version: 3.6.4
NetBox DNS Version: 0.20.0

Describe the bug
When a record name with more than is entered in NetBox DNS, an exception is thrown instead of providing a proper error message.

To Reproduce
Steps to reproduce the behavior:

  1. Edit an existing record in NetBox DNS
  2. Set the name of the record to aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, with a lengh of 64 or more characters
  3. Click on 'Save'

Expected result
A DNS validation error message is displayed stating that labels >63 characters are invalid, and the input is not accepted.

Actual result
An exception is raised

Screenshots
Screenshot 2023-10-20 at 10 04 27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant