Hi,
I'm running VERSION: 4.4.0, API_VERSION: 2.213.
When trying to delete a host using # ipa host-del --updatedns it returns always the
following error even if the DNS record exists.
ipa: WARNING: DNS record(s) of host
velo.vm.example.com could not be removed. (No A,
AAAA, SSHFP or PTR records found.)
How to reproduce:
# ipa host-add
velo.vm.example.com --ip-address=10.0.20.67 --random
------------------------------
Added host "velo.vm.example.com"
------------------------------
Host name:
velo.vm.example.com
Random password: xxxxxxxx
Password: True
Keytab: False
Managed by:
velo.vm.example.com
# ipa dnsrecord-show
vm.example.com velo
Record name: velo
A record: 10.0.20.67
# ipa dnsrecord-show 10.in-addr.arpa 67.20.0
Record name: 67.20.0
PTR record:
velo.vm.example.com.
# ipa host-del velo --updatedns
ipa: WARNING: DNS record(s) of host
velo.vm.example.com could not be removed. (No A,
AAAA, SSHFP or PTR records found.)
-------------------
Deleted host "velo"
-------------------
The DNS records are not deleted ...
What would be handy is the 389-ds access log that covers the delete.
There should be a bunch of searches for these DNS entries. Knowing what
those searches returned may help figure out what is going on.
rob