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 2129005 - glibc: Do not fail name resolution if CNAMEs involve aliases which are not host names [rhel-9.2.0]
Summary: glibc: Do not fail name resolution if CNAMEs involve aliases which are not ho...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: glibc
Version: 9.2
Hardware: All
OS: All
unspecified
medium
Target Milestone: rc
: ---
Assignee: Arjun Shankar
QA Contact: Sergey Kolosov
Petr Hybl
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-22 09:26 UTC by Florian Weimer
Modified: 2023-05-10 09:57 UTC (History)
10 users (show)

Fixed In Version: glibc-2.34-48.el9
Doc Type: Bug Fix
Doc Text:
.DNS lookup can now succeed even when some CNAME records are invalid Previously, the `glibc` DNS stub resolver treated CNAME records with owner names that are not host names as DNS packet errors. Consequently, the DNS query failed because of the DNS packet errors. With this update, the `glibc` stub resolver now skips invalid CNAME records and the corresponding alias information is not extracted. Therefore, DNS lookups can now succeed even if the server response includes a CNAME chain that contains a domain name that is not a host name.
Clone Of:
Environment:
Last Closed: 2023-05-09 08:16:01 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1752133 0 medium CLOSED glibc: Do not fail name resolution if CNAMEs involve aliases which are not host names 2023-10-06 18:36:15 UTC
Red Hat Bugzilla 2096191 0 unspecified CLOSED glibc: Backport no-aaaa resolver option to suppress DNS AAAA queries [rhel-9.1.0] 2023-07-18 14:29:19 UTC
Red Hat Bugzilla 2116960 0 unspecified CLOSED glibc: Import bug fixes from glibc 2.34 upstream (snapshot 1) [rhel-9.2.0] 2023-06-14 06:28:10 UTC
Red Hat Issue Tracker RHELPLAN-134667 0 None None None 2022-09-22 09:57:25 UTC
Red Hat Product Errata RHBA-2023:2481 0 None None None 2023-05-09 08:16:39 UTC
Sourceware 12154 0 P2 RESOLVED Cannot resolve hosts which have wildcard aliases 2022-09-22 09:26:20 UTC

Internal Links: 1752133 2116960

Description Florian Weimer 2022-09-22 09:26:21 UTC
This bug has already been fixed on the upstream release/2.34/master branch, but we backported the noaaaa separately under bug 2096191. This will cause conflicts in the upstream import for bug 2116960. For the affected patches (I believe it will be glibc-upstream-2.34-327.patch, 480c820493add16e8dda6f3189d834223e1f4f39 backporting 9caf782276ecea4bc86fc94fbb52779736f3106d), we should take the corresponding commit from the master branch instead. It has noaaaa support in it, so it should apply cleanly.

This bug serves as a reference point for this alternative patch.

Comment 10 errata-xmlrpc 2023-05-09 08:16:01 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 (glibc bug fix and enhancement update), and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHBA-2023:2481


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