#6516 [RFE] Remove dns record from reverse when removing from zone map (ipa dnsrecord-del)
Opened 7 years ago by pvoborni. Modified 5 years ago

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1396438

Description of problem:
When removing one dns record from zone map via cli (ipa dnsrecord-add) we can
force the reverse entry, although when removing, the information still on
reverse map.

Version-Release number of selected component (if applicable):
4.4.0

How reproducible:
100

Steps to Reproduce:
1. Below I can show all steps to remove the entry (zone and reverse)

// The command to add a new entry on IDM (via idm server / cli)
        ---
        [root@idm ~]# ipa dnsrecord-add domain.example waldirio
--a-rec=192.168.56.200 --a-create-reverse
          Record name: waldirio
          A record: 192.168.56.200
        [root@idm ~]#
        ---

// The command to delete the entry on IDM (via idm server / cli)
        ---
        [root@idm ~]# ipa dnsrecord-del domain.example waldirio --del-all
        -------------------------
        Deleted record "waldirio"
        -------------------------
        [root@idm ~]#
        ---

// The command to delete the entry on IDM - reverse map (via idm server / cli)
        ---
        [root@idm ~]# ipa dnsrecord-del 56.168.192.in-addr.arpa.
--ptr-rec=waldirio.domain.example.
        Record name: 200
        --------------------
        Deleted record "200"
        --------------------
        [root@idm ~]#
        ---


Actual results:
Necessary execute two steps, one to remove from zone and another one to remove
from reverse

Expected results:
In one simple command, remove from zone and reverse map.

Additional info:

Metadata Update from @pvoborni:
- Issue assigned to someone
- Issue set to the milestone: Future Releases

7 years ago

Login to comment on this ticket.

Metadata