#5692 hostname with multiple dashes treated as invalid
Closed: Duplicate Opened by rcritten.

My memory is fuzzy on valid DNS labels but I thought dashes were limited only in the beginning and end of a label.

$ ipa host-add test--4.example.com
ipa: ERROR: invalid 'hostname': invalid domain-name: only letters, numbers , '-' are allowed. DNS label may not start or end with '-'

duplicate of #4710 and PKI https://fedorahosted.org/pki/ticket/1260

Metadata Update from @rcritten:
- Issue assigned to mbasti
- Issue set to the milestone: 0.0 NEEDS_TRIAGE

Metadata