#909 Adding a Host with only AAAA records requires force
Closed: Invalid None Opened 13 years ago by admiyo.

Currenly, ipa host-add will check the host name against dns and add it if and only if there is an A record. it should work if there is only an AAAA record as well.


I retested this and seems to be working fine:

[root@vm-122 ~]# ipa host-add ipv6test.idm.lab.bos.redhat.com
ipa: ERROR: Host does not have corresponding DNS A record
[root@vm-122 ~]# ipa dnsrecord-add idm.lab.bos.redhat.com ipv6test --aaaa-rec=fec0:0:a10:4c00:216:3eff:fe77:6ff6
  Record name: ipv6test
  AAAA record: fec0:0:a10:4c00:216:3eff:fe77:6ff6
[root@vm-122 ~]# ipa host-add ipv6test.idm.lab.bos.redhat.com
--------------------------------------------
Added host "ipv6test.idm.lab.bos.redhat.com"
--------------------------------------------
  Host name: ipv6test.idm.lab.bos.redhat.com
  Principal name: host/ipv6test.idm.lab.bos.redhat.com@IDM.LAB.BOS.REDHAT.COM
  Managed by: ipv6test.idm.lab.bos.redhat.com

Please check if I missed something in my testing, otherwise I suggest closing.

Works for me. Please reopen if the problem persists.

Metadata Update from @admiyo:
- Issue assigned to jhrozek
- Issue set to the milestone: FreeIPA 2.0.1 RC (bug fixing)

7 years ago

Login to comment on this ticket.

Metadata