#1129 Improve error message on invalid dnsrecord-add for ptr records
Closed: Fixed None Opened 13 years ago by rcritten.

If a data element is missing a trailing dot then less-than-helpful error message may result:

ipa dnsrecord-add --ptr-rec=server.example.com. 1.168.192.in-addr.arpa 1
ipa: ERROR: invalid 'cn': IP address must have exactly 4 components

It was missing the trailing .

Before:
ipa dnsrecord-add --ptr-rec=server.example.com. 1.168.192.in-addr.arpa 1
After:
ipa dnsrecord-add --ptr-rec=server.example.com. 1.168.192.in-addr.arpa. 1


Metadata Update from @rcritten:
- Issue assigned to mkosek
- Issue set to the milestone: FreeIPA 2.1 - 2011/08 (Final)

7 years ago

Login to comment on this ticket.

Metadata