Asterisk in DNS Name gives error #6539

Closed
opened 2025-12-29 19:42:07 +01:00 by adam · 1 comment
Owner

Originally created by @jkerndev on GitHub (Jun 4, 2022).

NetBox version

v3.2.4

Python version

3.10

Steps to Reproduce

  1. Go to IP Addresses under IPAM
  2. Edit an existing IP address
  3. Change DNS Name to include an asterisk and save
  4. Receive error

Expected Behavior

IP address should save with newly updated DNS name including an asterisk in it

Observed Behavior

Given error "DNS Name | Only alphanumeric characters, asterisks, hyphens, periods, and underscores are allowed in DNS names."

Originally created by @jkerndev on GitHub (Jun 4, 2022). ### NetBox version v3.2.4 ### Python version 3.10 ### Steps to Reproduce 1. Go to IP Addresses under IPAM 2. Edit an existing IP address 3. Change DNS Name to include an asterisk and save 4. Receive error ### Expected Behavior IP address should save with newly updated DNS name including an asterisk in it ### Observed Behavior Given error "DNS Name | Only alphanumeric characters, asterisks, hyphens, periods, and underscores are allowed in DNS names."
adam closed this issue 2025-12-29 19:42:07 +01:00
Author
Owner

@kkthxbye-code commented on GitHub (Jun 5, 2022):

I cannot replicate this on v3.2.4 with the info you have given. If we assume you tried to add the asterisk at any other part than the first character, then what you are seeing is intended.

Please see the discussion here: https://github.com/netbox-community/netbox/pull/8945

And the FR here: https://github.com/netbox-community/netbox/issues/8785

If you want to suggest a change to the current functionality, feel free to create a feature request instead. I'll close this as this is not a bug with the current replication steps.

@kkthxbye-code commented on GitHub (Jun 5, 2022): I cannot replicate this on v3.2.4 with the info you have given. If we assume you tried to add the asterisk at any other part than the first character, then what you are seeing is intended. Please see the discussion here: https://github.com/netbox-community/netbox/pull/8945 And the FR here: https://github.com/netbox-community/netbox/issues/8785 If you want to suggest a change to the current functionality, feel free to create a feature request instead. I'll close this as this is not a bug with the current replication steps.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6539