Add serve-stale feature

Backported from 9.12 version, adds support for stale-answer-enable
option, as well stale-answer-ttl and max-stale-ttl.
This commit is contained in:
Petr Menšík 2019-11-06 21:46:21 +01:00
parent dff9083e8c
commit 8544584691
2 changed files with 3864 additions and 1 deletions

3858
bind-9.11-serve-stale.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -61,7 +61,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
Name: bind
License: MPLv2.0
Version: 9.11.12
Release: 3%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
Release: 4%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
Epoch: 32
Url: https://www.isc.org/downloads/bind/
#
@ -158,6 +158,7 @@ Patch173:bind-9.11-rh1732883.patch
Patch174:bind-9.11-json-c.patch
Patch175:bind-9.11-fips-disable.patch
Patch176: bind-9.11-rh1768258.patch
Patch177: bind-9.11-serve-stale.patch
# SDB patches
Patch11: bind-9.3.2b2-sdbsrc.patch
@ -550,6 +551,7 @@ are used for building ISC DHCP.
%patch174 -p1 -b .json-c
%patch175 -p1 -b .rh1709553
%patch176 -p1 -b .rh1768258
%patch177 -p1 -b .serve-stale
mkdir lib/dns/tests/testdata/dstrandom
cp -a %{SOURCE50} lib/dns/tests/testdata/dstrandom/random.data
@ -1565,6 +1567,9 @@ fi;
%changelog
* Wed Nov 06 2019 Petr Menšík <pemensik@redhat.com> - 32:9.11.12-4
- Backported serve-stale feature
* Wed Nov 06 2019 Petr Menšík <pemensik@redhat.com> - 32:9.11.12-3
- Fix wrong default GeoIP directory (#1768258)