Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
After bind rebase to latest ESV 9.11, bug #1743572 was reported. bind-utils changed behavior and no longer tries search suffixes to names containing dot.
That change was intentional and upstream does not want to revert back to original behaviour. Instead, they provided me link to research document [1], which recommends avoiding searches on names, when it is unclear it is considered absolute or not. Modern systems release follow recommendation by ICANN.
I think we should consider changing behaviour in glibc, even it may break backward compatibility. Now, we are in inconsistent state, where system resolver behaves different way than DNS tools. According to [1], recent Windows system behaves the same way as bind-utils. I think we should follow, maybe with flag for backward compatibility in options
Version-Release number of selected component (if applicable):
glibc-2.28-72.el8.x86_64
How reproducible:
always
Steps to Reproduce:
1. use some search in /etc/resolv.conf
2. dig +showsearch nx.test
3. getent hosts nx.test
Actual results:
2. does not use search
3. uses search
Expected results:
2. does not use search
3. does not use search
Additional info:
It is considered best practice to use search only on unqualified names (without dots). Lowers number of invalid queries to root servers and lowers chance someone on public internet could spoof internal only site.
1. https://www.icann.org/en/groups/ssac/documents/sac-064-en.pdf
I looked at this quite some time ago and the conclusion back then was that there is no reliable way to turn of search list processing for dotted names, or not have a search path at all (while still blocking TLD lookups). This needs some upstream work to get fixed.
(In reply to Florian Weimer from comment #2)
> I looked at this quite some time ago and the conclusion back then was that
> there is no reliable way to turn of search list processing for dotted names,
> or not have a search path at all (while still blocking TLD lookups). This
> needs some upstream work to get fixed.
Could you please file an upstream bug? Then we'll close this CLOSED/UPSTREAM and track.