Bug 1769869

Summary: [RFE] named: stale-answer support
Product: [Fedora] Fedora Reporter: Petr Menšík <pemensik>
Component: bindAssignee: Petr Menšík <pemensik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: high    
Version: rawhideCC: anon.amish, mruprich, msehnout, pemensik, pzhukov, thozza, vonsch, zdohnal
Target Milestone: ---Keywords: FutureFeature, Reproducer
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: bind-9.11.12-4.fc32 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1664863 Environment:
Last Closed: 2019-11-25 20:52:17 UTC Type: ---
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: 1664863    
Bug Blocks:    

Description Petr Menšík 2019-11-07 16:14:36 UTC
+++ This bug was initially created as a clone of Bug #1664863 +++

Description of problem:
Support for stale-answer-enable and others is missing. Allows responding from cache when authoritative servers are under attack or not responding.

Upstream change:

4700. [func] Serving of stale answers is now supported. This

                        allows named to provide stale cached answers when
                        the authoritative server is under attack.
                        See max-stale-ttl, stale-answer-enable,
                        stale-answer-ttl. [RT #44790]


First commit:
https://gitlab.isc.org/isc-projects/bind9/commit/df50751585b64f72d93ad665abf0f485c8941a3b

Check bug #1653111 comment #7 for more details.

Version-Release number of selected component (if applicable):
bind-9.11.4-14.P2.el8

Additional info:
Upstream has no support for stale cache in 9.11 ESV version, the feature was introduced in 9.12 version.

--- Additional comment from Petr Menšík on 2019-08-29 11:40:50 CEST ---

Previous refractoring of resolver [1] makes backport hard. Not simple to check it is possible or not, have to decipher which changes would land where in the old code.

1. https://gitlab.isc.org/isc-projects/bind9/commit/96912e44b0b180de56f47d438f91c9e70925bd16

Comment 1 Petr Menšík 2019-11-25 20:52:17 UTC
Built on rawhide already. No plans to backport it to stable releases now.