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 950030 - Integrate realmdomains-* commands with IPA DNS
Summary: Integrate realmdomains-* commands with IPA DNS
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-09 13:38 UTC by Dmitri Pal
Modified: 2015-02-02 05:37 UTC (History)
3 users (show)

Fixed In Version: ipa-3.2.1-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 10:38:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Dmitri Pal 2013-04-09 13:38:06 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/freeipa/ticket/3544

See details there.

Comment 1 Martin Kosek 2013-04-16 13:54:21 UTC
Fixed upstream:
master: https://fedorahosted.org/freeipa/changeset/a730b6e7b5e4eca754022fd3e0112ef597888c3b

Details of the enhancements are in the Design linked to the upstream ticket. In short:

When new forward zone is added to IPA DNS, a normalized realmdomains record is added and a TXT record _kerberos.$DOMAIN with IPA realm as its content is added.

When DNS zone is deleted, a realmdomains record is deleted.


When new realmdomains record is added (with realmdomains-mod --add-domain=DOMAIN), a TXT record _kerberos.$DOMAIN with IPA realm as its content is added.

When realmdomains record (with realmdomains-mod --del-domain=DOMAIN) is deleted, TXT record _kerberos.$DOMAIN with IPA realm as its content is deleted.

Comment 4 Steeve Goveas 2014-01-08 15:43:26 UTC
* Added a forwarder for newdom.qe domain

[root@dhcp207-43 ~]# ipa dnszone-add newdom.qe --name-server=dhcp207-218.newdom.qe --admin-email=hostmaster --force --forwarder=10.65.207.218 --forward-policy=only --ip-address=10.65.207.218
  Zone name: newdom.qe
  Authoritative nameserver: dhcp207-218.newdom.qe
  Administrator e-mail address: hostmaster.newdom.qe.
  SOA serial: 1389193862
  SOA refresh: 3600
  SOA retry: 900
  SOA expire: 1209600
  SOA minimum: 3600
  BIND update policy: grant TESTRELM.COM krb5-self * A; grant TESTRELM.COM krb5-self * AAAA; grant TESTRELM.COM krb5-self * SSHFP;
  Active zone: TRUE
  Dynamic update: FALSE
  Allow query: any;
  Allow transfer: none;
  Zone forwarders: 10.65.207.218
  Forward policy: only

* Domain is not added to the realmdomains list and no txt record is added as expected

[root@dhcp207-43 ~]# ipa realmdomains-show
  Domain: testrelm.com

[root@dhcp207-43 ~]# ipa dnsrecord-find newdom.qe
  Record name: @
  NS record: dhcp207-218.newdom.qe.

  Record name: dhcp207-218
  A record: 10.65.207.218
----------------------------
Number of entries returned 2
----------------------------

[root@dhcp207-43 ~]# ipa dnszone-add adlabs.com --name-server=win.adlabs.com --ip-address 10.65.207.6  --admin-email hostmaster.adlabs.com
  Zone name: adlabs.com
  Authoritative nameserver: win.adlabs.com
  Administrator e-mail address: hostmaster.adlabs.com.
  SOA serial: 1389194098
  SOA refresh: 3600
  SOA retry: 900
  SOA expire: 1209600
  SOA minimum: 3600
  BIND update policy: grant TESTRELM.COM krb5-self * A; grant TESTRELM.COM krb5-self * AAAA; grant TESTRELM.COM krb5-self * SSHFP;
  Active zone: TRUE
  Dynamic update: FALSE
  Allow query: any;
  Allow transfer: none;

[root@dhcp207-43 ~]# ipa realmdomains-show
  Domain: testrelm.com, adlabs.com

[root@dhcp207-43 ~]# ipa dnsrecord-show adlabs.com
Record name: _kerberos
  Record name: _kerberos
  TXT record: TESTRELM.COM

[root@dhcp207-43 ~]# ipa realmdomains-mod --add-domain=newdom.qe
  Domain: testrelm.com, adlabs.com, newdom.qe

[root@dhcp207-43 ~]# ipa dnsrecord-find newdom.qe
  Record name: @
  NS record: dhcp207-218.newdom.qe

  Record name: _kerberos
  TXT record: TESTRELM.COM

  Record name: dhcp207-218.newdom.qe
  A record: 10.65.207.218
----------------------------
Number of entries returned 3
----------------------------

[root@dhcp207-43 ~]# ipa realmdomains-mod --del-domain=newdom.qe
  Domain: testrelm.com, adlabs.com

[root@dhcp207-43 ~]# ipa dnsrecord-find newdom.qe
  Record name: @
  NS record: dhcp207-218.newdom.qe

  Record name: dhcp207-218.newdom.qe
  A record: 10.65.207.218
----------------------------
Number of entries returned 2
----------------------------

[root@dhcp207-43 ~]# ipa dnszone-del adlabs.com
-----------------------------
Deleted DNS zone "adlabs.com"
-----------------------------

[root@dhcp207-43 ~]# ipa realmdomains-show
  Domain: testrelm.com

Verified in version
[root@dhcp207-43 ~]# rpm -q ipa-server
ipa-server-3.3.3-8.el7.x86_64

Comment 5 Ludek Smid 2014-06-13 10:38:36 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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