#3389 Check in validate_domain_name() is too strict
Closed: Duplicate None Opened 11 years ago by sbose.

When trying to add a delegation record for a sub-domain

ipa dnsrecord-add ipa18.devel ad18 --ns-hostname=ns1.ad18

an error like

ipa: ERROR: invalid 'ns_hostname': invalid domain-name: top level domain label must be alphabetic

is returned. The reason is the isalpha() check in validate_domain_name() which should be only done for top-level domains, nut not for sub-domains.


I just found out that this is duplicate to #3385.

Metadata Update from @sbose:
- Issue assigned to someone
- Issue set to the milestone: 0.0 NEEDS_TRIAGE

7 years ago

Login to comment on this ticket.

Metadata