Bug 747414

Summary: Reverse DNS rec not created upon creation of fwd DNS rec
Product: [Fedora] Fedora Reporter: Sigbjorn Lie <sigbjorn>
Component: ipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 15CC: dpal, mkosek, rcritten, ssorce
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 772301 (view as bug list) Environment:
Last Closed: 2012-03-26 11:02:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 772301    

Description Sigbjorn Lie 2011-10-19 18:22:56 UTC
Description of problem:
When a fwd DNS records is created, no corresponding reverse record is created. Not for IPv4 or IPv6. Both forward and reverse zones are located on the IPA instance.

This would be useful for both IPv4 and IPv6, however it's almost a requirement for IPv6 records as the reverse IPv6 records are anything but easy to deal with manually.

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

How reproducible:
Every time

Steps to Reproduce:
1. Add a fwd DNS record
2. Look for the reverse record
3.
  
Actual results:
Reverse record not created

Expected results:
A optional tickbox for creating the reverse record at the same time as the forward record is created.

Additional info:

Comment 1 Rob Crittenden 2011-10-20 13:11:27 UTC
One workaround is to add the DNS entries when creating the host:

$ ipa host-add foo.example.com --ip-address=192.168.100.1

Comment 2 Sigbjorn Lie 2011-10-20 16:11:57 UTC
Yes, this works when adding new machines. However from time to time I'm adding other types of devices to DNS too, like switches, printers, wifi access points, etc.

Comment 3 Dmitri Pal 2011-10-20 16:55:05 UTC
It would make sense to have an optional parameter to create a reverse record. Imo it should be a part of the new DNS management API Martin is working on.

Comment 4 Dmitri Pal 2011-10-20 17:08:18 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/2009

Comment 5 Martin Kosek 2012-03-26 11:02:31 UTC
Fixed upstream

master: cbb3bfae23267270e1310c1c1e23b1aed78fe9c6
ipa-2-2: 4265028befbea0418aa7469adc7ce356e357fda4