aboutsummaryrefslogtreecommitdiff
path: root/dns/bind9-devel/files/extrapatch-bind-min-override-ttl
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-05-07 12:42:25 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-05-07 12:42:25 +0000
commit07784a692b3516d4094302181bbe523a76868c4a (patch)
treedcf228ad89492cbf8a9b23ef6371444aefa8d713 /dns/bind9-devel/files/extrapatch-bind-min-override-ttl
parente7dd723f7ace9c336259a1966ef7305f982bd9ec (diff)
Notes
Diffstat (limited to 'dns/bind9-devel/files/extrapatch-bind-min-override-ttl')
-rw-r--r--dns/bind9-devel/files/extrapatch-bind-min-override-ttl12
1 files changed, 6 insertions, 6 deletions
diff --git a/dns/bind9-devel/files/extrapatch-bind-min-override-ttl b/dns/bind9-devel/files/extrapatch-bind-min-override-ttl
index b1a67d7e96f1..49c87f961176 100644
--- a/dns/bind9-devel/files/extrapatch-bind-min-override-ttl
+++ b/dns/bind9-devel/files/extrapatch-bind-min-override-ttl
@@ -1,6 +1,6 @@
---- bin/named/config.c.orig 2018-04-21 00:18:28 UTC
+--- bin/named/config.c.orig 2018-05-05 00:51:14 UTC
+++ bin/named/config.c
-@@ -179,12 +179,14 @@ options {\n\
+@@ -175,12 +175,14 @@ options {\n\
max-recursion-queries 75;\n\
max-stale-ttl 604800; /* 1 week */\n\
message-compression yes;\n\
@@ -15,7 +15,7 @@
provide-ixfr true;\n\
query-source address *;\n\
query-source-v6 address *;\n\
---- bin/named/server.c.orig 2018-04-21 00:18:28 UTC
+--- bin/named/server.c.orig 2018-05-05 00:51:14 UTC
+++ bin/named/server.c
@@ -4068,6 +4068,16 @@ configure_view(dns_view_t *view, dns_vie
}
@@ -34,7 +34,7 @@
result = named_config_get(maps, "max-cache-ttl", &obj);
INSIST(result == ISC_R_SUCCESS);
view->maxcachettl = cfg_obj_asuint32(obj);
---- lib/dns/include/dns/view.h.orig 2018-04-21 00:18:28 UTC
+--- lib/dns/include/dns/view.h.orig 2018-05-05 00:51:14 UTC
+++ lib/dns/include/dns/view.h
@@ -149,6 +149,8 @@ struct dns_view {
isc_boolean_t requestnsid;
@@ -45,7 +45,7 @@
dns_ttl_t maxncachettl;
isc_uint32_t nta_lifetime;
isc_uint32_t nta_recheck;
---- lib/dns/resolver.c.orig 2018-04-21 00:18:28 UTC
+--- lib/dns/resolver.c.orig 2018-05-05 00:51:14 UTC
+++ lib/dns/resolver.c
@@ -5746,6 +5746,18 @@ cache_name(fetchctx_t *fctx, dns_name_t
}
@@ -66,7 +66,7 @@
* Enforce the configure maximum cache TTL.
*/
if (rdataset->ttl > res->view->maxcachettl) {
---- lib/isccfg/namedconf.c.orig 2018-04-21 00:18:28 UTC
+--- lib/isccfg/namedconf.c.orig 2018-05-05 00:51:14 UTC
+++ lib/isccfg/namedconf.c
@@ -1916,6 +1916,8 @@ view_clauses[] = {
{ "max-acache-size", &cfg_type_sizenodefault,