Bug 1797393
| Summary: | bind 9.11 responds to RFC 1918 requests with default named configuration | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Striker Leggette <striker> |
| Component: | bind-dyndb-ldap | Assignee: | Alexander Bokovoy <abokovoy> |
| Status: | CLOSED MIGRATED | QA Contact: | ipa-qe <ipa-qe> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | --- | CC: | abokovoy, pemensik, pvoborni |
| Target Milestone: | rc | Keywords: | MigratedToJIRA, Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-09-18 18:01:21 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1780662 | ||
|
Description
Striker Leggette
2020-02-03 02:01:18 UTC
Bind documentation states it is by default enabled and it is indeed by default enabled. But not a single true or false value is used. Smart detection is in place instead. If both statements empty-zones-enable and disable-empty-zone are missing in configuration, recursion value for given view is used. But it is enabled only when no global forwarders are used, or when forward policy is set to forward first; When forward only is configured, all queries are passed to forwarders without any change. That means no authoritative empty zones are created, even when explicitly requested in configuration. It is expected forwarder would handle possible leaks and has empty zones configured itself. But above seems to be valid just for normal bind configured by named.conf. When testing it on configured IPA server, my responses were passed to forwarders always, regardless first or only was set in ipa dnsconfig-mod forward-policy. Tested on: bind-pkcs11-9.11.4-16.P2.el7.x86_64 bind-dyndb-ldap-11.1-7.el7.x86_64 named-pkcs11 configured via LDAP does not seem to change behaviour even if empty zones are requested in named.conf explicitly. It seems to be feature of bind-dyndb-ldap, implemented in src/empty_zones.c. My log lists: ignoring inherited 'forward first;' for zone '.' - did you want 'forward only;' to override automatic empty zone '10.IN-ADDR.ARPA'? then: zone 10.IN-ADDR.ARPA/IN: shutting down shutting down automatic empty zones to enable forwarding for domain '.' for each private domain. It seems this behaviour is intentional, forwards all domains to forwarder and not to stop any query on the server empty zone itself. Not yet sure whether it can be disabled. Thank you taking your time and submitting this request for Red Hat Enterprise Linux 7. Red Hat Enterprise Linux 7 is in Maintenance Support 2 Phase. This bug was reevaluated and will be postponed to RHEL 8. Thank you for understanding. Red Hat Enterprise Linux Identity Management Team Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug. This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there. Due to differences in account names between systems, some fields were not replicated. Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information. To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer. You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like: "Bugzilla Bug" = 1234567 In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information. |