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 1404412 - BIND cannot cache URI RR received from recent servers
Summary: BIND cannot cache URI RR received from recent servers
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: bind
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Petr Menšík
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 1420851
TreeView+ depends on / blocked
 
Reported: 2016-12-13 19:08 UTC by Petr Menšík
Modified: 2020-04-15 14:59 UTC (History)
1 user (show)

Fixed In Version: bind-9.9.4-34.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-30 16:08:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Petr Menšík 2016-12-13 19:08:05 UTC
Description of problem:
Bind 9.9.4-29.el7_2.4 will not cache URI RR from remote servers, if they use more recent format that it recognizes. If RHEL 7 servers are used as your network cache, you will be unable to resolve any URI record from internet.

Version-Release number of selected component (if applicable):
bind-9.9.4-29.el7_2.4

How reproducible:
Always

Steps to Reproduce:
1. setup BIND as caching server, listening on localhost
2. Use more recent bind-utils, for example on fedora 24
3. send dig @cache _kerberos.fedoraproject.org URI, where cache is your RHEL7 cache server with BIND 9.9

Actual results:
$ dig +cd @rhel7 _kerberos.fedoraproject.org uri

; <<>> DiG 9.10.4-P4-RedHat-9.10.4-2.P4.fc24 <<>> +cd @rhel7 _kerberos.fedoraproject.org uri
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 3367
;; flags: qr rd ra cd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;_kerberos.fedoraproject.org.	IN	URI


Expected results:
$ dig +cd @rhel6 _kerberos.fedoraproject.org uri

; <<>> DiG 9.10.4-P4-RedHat-9.10.4-2.P4.fc24 <<>> +cd @rhel6 _kerberos.fedoraproject.org uri
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40510
;; flags: qr rd ra cd; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 6

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;_kerberos.fedoraproject.org.	IN	URI

;; ANSWER SECTION:
_kerberos.fedoraproject.org. 300 IN	URI	10 1 "krb5srv:m:kkdcp:https://id.fedoraproject.org/KdcProxy/"


Additional info:
Surprising fact is, older BIND 9.8.2 from RHEL 6 does work as expected. It can cache the record, because it does not try to understand it. It is regression since RHEL6. But 9.9 will refuse current URI record as invalid. But it is in fact more valid, conforming to RFC 7553.

Comment 2 Petr Menšík 2017-03-30 16:02:01 UTC
Ability to cache URI records was fixed with addition of a CAA record in bug #1306610. UI records served by older servers are cached with first byte length, so it caches exactly how served by original server.

It is already fixed in rhel-7.3


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