bind9/lib
Artem Boldariev 51a2c7aed3 DoH: Set the "max-age" "Cache-Control" HTTP header value
This commit makes BIND set the "max-age" value of the "Cache-Control"
HTTP header to the minimal TTL from the Answer section for positive
answers, as RFC 8484 advises in section 5.1.

We calculate the minimal TTL as a side effect of rendering the
response DNS message, so it does not change the code flow much, nor
should it have any measurable negative impact on the performance.

For negative answers, the "max-age" value is set using the TTL and
SOA-minimum values from an SOA record in the Authority section.
2021-11-05 14:14:59 +02:00
..
bind9 Be less strict regarding "tls" statements in the configuration file 2021-10-30 11:54:33 +03:00
dns DoH: Set the "max-age" "Cache-Control" HTTP header value 2021-11-05 14:14:59 +02:00
irs Check parsed resconf values 2021-08-12 09:52:52 -07:00
isc DoH: Add isc_nm_set_min_answer_ttl() 2021-11-05 14:14:59 +02:00
isccc Use #pragma once as header guards 2021-10-13 00:49:15 -07:00
isccfg Replace ARRAYSIZE with ARRAY_SIZE 2021-11-02 16:14:40 +11:00
ns DoH: Set the "max-age" "Cache-Control" HTTP header value 2021-11-05 14:14:59 +02:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
Makefile.am move samples/resolve.c to bin/tests/system 2021-04-16 14:29:43 +02:00
unit-test-driver.sh.in Enforce a run time limit on unit test binaries 2021-04-07 11:41:45 +02:00