I'm trying to add a CNAME record. The content I'm attempting to use is "wyt3gnnohbbpmxpp.onion" which seems valid to me. But, when I submit the form, I get this error:
"Invalid content for CNAME record. Please try again."
It seems that the form is incorrectly validating the content - can you please take a look?
Thanks!
"Invalid content for CNAME record" with valid content
Moderator: Moderators
Re: "Invalid content for CNAME record" with valid content
It's failing because the CNAME value is run through a validation function where part of what it looks at is the IANA TLD list:
http://data.iana.org/TLD/tlds-alpha-by-domain.txt
(We also allow "test" and "arpa" and "local")
The test is not specific to CNAMEs, the class that contains the domain validation function is used by any input that accepts things that are formatted like fully qualified DNS names. I don't suppose it would be a problem to add an alternate mode flag to skip the IANA TLD list. I presume you have some kind of local resolver thing that uses a globally invalid TLD?
http://data.iana.org/TLD/tlds-alpha-by-domain.txt
(We also allow "test" and "arpa" and "local")
The test is not specific to CNAMEs, the class that contains the domain validation function is used by any input that accepts things that are formatted like fully qualified DNS names. I don't suppose it would be a problem to add an alternate mode flag to skip the IANA TLD list. I presume you have some kind of local resolver thing that uses a globally invalid TLD?
Seth Mattinen, Roller Network LLC