[Freeipa-users] cannot delete PTR DNS records from the command line

Martin Kosek mkosek at redhat.com
Thu Feb 13 15:23:21 UTC 2014


On 02/13/2014 04:15 PM, Brent Clark wrote:
> I have run into a problem where I cannot delete PTR DNS records from the
> command line. This is something that until recently I have never attempted.
> 
> IPA version = ipa-server-2.2.0-17.el6_3.1.x86_64
> 
> When I try to delete a PTR record I get this message.
> ipa dnsrecord-del 41.100.10.in-addr-arpa. 250 --ptr-rec test1
> ipa: ERROR: invalid 'hostname': invalid domain-name: not fully qualified
> 
> ipa dnsrecord-del 41.100.10.in-addr-arpa. 250 --ptr-rec test1.test.com
> ipa: ERROR: 250: DNS resource record not found
> 
> ipa dnsrecord-del 41.100.10.in-addr-arpa. test1.test.com. --ptr-rec 250
> ipa: ERROR: invalid 'hostname': invalid domain-name: not fully qualified
> 
> Its got to be a simple thing I am missing, can someone please show what I
> am doing wrong?
> 
> Thanks!

Unqualified PTR records do not make sense, this is why we validate them on
addition. What does following command show?

$ ipa dnsrecord-show 41.100.10.in-addr-arpa. 250

Is the record really resolvable?

$ host 10.100.41.250

Martin




More information about the Freeipa-users mailing list