Some DNS record operations fail if the record value contains a space. See the following examples:
Adding a TXT record with a space using --txt-rec doesn't work:
# ipa dnsrecord-del test.com test --txt-rec="Hello World" ipa: ERROR: invalid 'txt_rec': format must be specified as "DATA" (see RFC 1035 for details)
Adding a TXT record with a space using --txt-data works:
# ipa dnsrecord-add test.com test --txt-data="Hello World" Record name: test TXT record: Hello World
Getting the TXT record containing a space without --structured works:
# ipa dnsrecord-show test.com test Record name: test TXT record: Hello World
Getting the TXT record containing a space with --structured generates an error:
# ipa dnsrecord-show test.com test --structured ipa: ERROR: an internal error has occurred
Modifying the TXT record that contains a space doesn't work:
# ipa dnsrecord-mod test.com test --txt-rec="Hello World" --txt-data="Test" ipa: ERROR: invalid 'txt_rec': format must be specified as "DATA" (see RFC 1035 for details)
Deleting a specific TXT record that contains a space doesn't work:
If the value doesn't contain a space all of the above operations will work just fine.
master: e41282f[[BR]] ipa-2-2: 8f17a9f
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.