The target attribute in SRV record should contain a hostname, but it's not validated allowing characters that may cause an error.
Adding SVR target with a space is accepted:
# ipa dnsrecord-add test.com test --srv-priority=1 --srv-weight=2 --srv-port=3 --srv-target="Hello World" Record name: test SRV record: 1 2 3 Hello World
The space is causing a problem with the new DNS API:
# ipa dnsrecord-show test.com test --structured ipa: ERROR: an internal error has occurred
master: e1fecfa[[BR]] ipa-2-2: 4ae3a60
Metadata Update from @edewata: - Issue assigned to mkosek - Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/02
Login to comment on this ticket.