RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 713798 - Set allow-recursion by default in IPA DNS
Summary: Set allow-recursion by default in IPA DNS
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-16 14:52 UTC by Marko Myllynen
Modified: 2015-01-04 23:49 UTC (History)
5 users (show)

Fixed In Version: ipa-2.1.0-1.el6
Doc Type: Bug Fix
Doc Text:
Cause: DNS lookups not forwarded if they originate in a subnet not managed by IPA. Consequence: DNS lookups for names outside the IPA domain will not work on some subnets. Fix: Configure the DNS server to allow recursion by default. Result: The IPA DNS will forward requests even from subnets it does not control.
Clone Of:
Environment:
Last Closed: 2011-12-06 18:34:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1533 0 normal SHIPPED_LIVE Moderate: ipa security and bug fix update 2011-12-06 01:23:31 UTC

Description Marko Myllynen 2011-06-16 14:52:09 UTC
Description of problem:
It would be helpful if "allow-recursion { any; };" would be set by default in IPA DNS to allow IPA clients from other subnets to resolve host names correctly.

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

Comment 2 Simo Sorce 2011-06-16 15:03:41 UTC
A bit of history.
The problem we found is that if clients are in a different subnet they will not be allowed to get any forwarded query resolved. This means that if you configure these clients to use FreeIPA's DNS server they will be allowed to query any name in all the FreeIPA DNS managed zones but forwarding to resolve any other names will not work.
Given we do allow to configure forwarders we should also do either:
- allow recursion by default and let the admin close it down if they want it.
- ask for the addresses of the subnets the server needs to server at ipa-dns-install time and add each of these subnets to the allow-recurese configuration option in the global options.
I think that setting allow-recurse any is an acceptable compromise to make things work out of the box without affecting security too much.

Comment 3 Rob Crittenden 2011-06-16 15:06:09 UTC
https://fedorahosted.org/freeipa/ticket/1335

Comment 4 Rob Crittenden 2011-08-01 20:20:08 UTC
master: 5f4c75eb28b3d50a35fbf3a86a6d842bce8e72f9

ipa-2-0: 99669f5f0cce625579c81e356a9503e092a50809

Comment 7 Rob Crittenden 2011-10-31 20:10:34 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause: DNS lookups not forwarded if they originate in a subnet not managed by IPA.
Consequence: DNS lookups for names outside the IPA domain will not work on some subnets.
Fix: Configure the DNS server to allow recursion by default.
Result: The IPA DNS will forward requests even from subnets it does not control.

Comment 9 Gowrishankar Rajaiyan 2011-11-08 09:52:30 UTC
Verified.

[root@ipaqavma ~]# rpm -qi ipa-server | head
Name        : ipa-server                   Relocations: (not relocatable)
Version     : 2.1.3                             Vendor: Red Hat, Inc.
Release     : 9.el6                         Build Date: Mon 07 Nov 2011 03:00:54 PM EST
Install Date: Tue 08 Nov 2011 01:32:36 AM EST      Build Host: x86-001.build.bos.redhat.com
Group       : System Environment/Base       Source RPM: ipa-2.1.3-9.el6.src.rpm
Size        : 3382131                          License: GPLv3+
Signature   : (none)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://www.freeipa.org/
Summary     : The IPA authentication server
[root@ipaqavma ~]#

Comment 10 errata-xmlrpc 2011-12-06 18:34:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2011-1533.html


Note You need to log in before you can comment on or make changes to this bug.