diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2023-02-15 17:45:02 +0100 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2023-02-15 17:46:39 +0100 |
commit | 0609537c5137e8f413c99bef6fa5ec4e9e5a92f2 (patch) | |
tree | a6c0b759c8f5105fa24d78ac3af70588c1db645e /dns/bind918/files/extrapatch-bind-min-override-ttl | |
parent | dns/bind916: update to 9.16.38 (diff) |
dns/bind918: update to 9.18.12
Changes: https://downloads.isc.org/isc/bind9/9.18.12/doc/arm/html/notes.html#notes-for-bind-9-18-12
Diffstat (limited to 'dns/bind918/files/extrapatch-bind-min-override-ttl')
-rw-r--r-- | dns/bind918/files/extrapatch-bind-min-override-ttl | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/dns/bind918/files/extrapatch-bind-min-override-ttl b/dns/bind918/files/extrapatch-bind-min-override-ttl index fb51bea24e30..08df7fe724b8 100644 --- a/dns/bind918/files/extrapatch-bind-min-override-ttl +++ b/dns/bind918/files/extrapatch-bind-min-override-ttl @@ -1,6 +1,6 @@ Add the override-cache-ttl feature. ---- bin/named/config.c.orig 2023-01-12 22:21:15 UTC +--- bin/named/config.c.orig 2023-02-03 11:25:47 UTC +++ bin/named/config.c @@ -184,6 +184,7 @@ options {\n\ notify-source *;\n\ @@ -10,7 +10,7 @@ Add the override-cache-ttl feature. parental-source *;\n\ parental-source-v6 *;\n\ provide-ixfr true;\n\ ---- bin/named/server.c.orig 2023-01-12 22:21:15 UTC +--- bin/named/server.c.orig 2023-02-03 11:25:47 UTC +++ bin/named/server.c @@ -4547,6 +4547,11 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewl } @@ -24,9 +24,9 @@ Add the override-cache-ttl feature. result = named_config_get(maps, "max-cache-ttl", &obj); INSIST(result == ISC_R_SUCCESS); view->maxcachettl = cfg_obj_asduration(obj); ---- doc/arm/reference.rst.orig 2023-01-12 22:21:15 UTC +--- doc/arm/reference.rst.orig 2023-02-03 11:25:47 UTC +++ doc/arm/reference.rst -@@ -4277,6 +4277,10 @@ Tuning +@@ -4288,6 +4288,10 @@ Tuning cannot exceed 7 days and is silently truncated to 7 days if set to a greater value. @@ -37,7 +37,7 @@ Add the override-cache-ttl feature. .. namedconf:statement:: max-cache-ttl :tags: server :short: Specifies the maximum time (in seconds) that the server caches ordinary (positive) answers. ---- lib/dns/include/dns/view.h.orig 2023-01-12 22:21:15 UTC +--- lib/dns/include/dns/view.h.orig 2023-02-03 11:25:47 UTC +++ lib/dns/include/dns/view.h @@ -157,6 +157,7 @@ struct dns_view { bool requestnsid; @@ -47,7 +47,7 @@ Add the override-cache-ttl feature. dns_ttl_t maxncachettl; dns_ttl_t mincachettl; dns_ttl_t minncachettl; ---- lib/dns/resolver.c.orig 2023-01-12 22:21:15 UTC +--- lib/dns/resolver.c.orig 2023-02-03 11:25:47 UTC +++ lib/dns/resolver.c @@ -6253,6 +6253,12 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, dns_mes } @@ -62,9 +62,9 @@ Add the override-cache-ttl feature. * Enforce the configure maximum cache TTL. */ if (rdataset->ttl > res->view->maxcachettl) { ---- lib/isccfg/namedconf.c.orig 2023-01-12 22:21:15 UTC +--- lib/isccfg/namedconf.c.orig 2023-02-03 11:25:47 UTC +++ lib/isccfg/namedconf.c -@@ -2096,6 +2096,7 @@ static cfg_clausedef_t view_clauses[] = { +@@ -2100,6 +2100,7 @@ static cfg_clausedef_t view_clauses[] = { #endif /* ifdef HAVE_LMDB */ { "max-acache-size", NULL, CFG_CLAUSEFLAG_ANCIENT }, { "max-cache-size", &cfg_type_sizeorpercent, 0 }, |