How to get underscore accepted in dns hostname for txt record? #17155
-
I have a dns TXT record with name - xyz_test._ke.dom is not a valid DNS host name. I get the error xyz_test._ke.dom is not a valid DNS host name Is there a setting I can enable? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
That message doesn't appear anywhere in the Netbox source code, so I'm guessing you're using some unnamed third-party plugin. In that case, it would be best to take it up with the author of that plugin, or modify the source code yourself. Aside: technically, what you have is a valid domain name, but not a valid hostname (according to an ancient RFC). However, there are plenty of DNS labels which are not used as hostnames, such as |
Beta Was this translation helpful? Give feedback.
That message doesn't appear anywhere in the Netbox source code, so I'm guessing you're using some unnamed third-party plugin. In that case, it would be best to take it up with the author of that plugin, or modify the source code yourself.
Aside: technically, what you have is a valid domain name, but not a valid hostname (according to an ancient RFC). However, there are plenty of DNS labels which are not used as hostnames, such as
_acme-challenge
, so I think your DNS plugin is in the wrong.