mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-11 10:40:56 -04:00
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. |
||
|---|---|---|
| .. | ||
| bind9 | ||
| dns | ||
| irs | ||
| isc | ||
| isccc | ||
| isccfg | ||
| ns | ||
| .gitignore | ||
| Makefile.am | ||
| unit-test-driver.sh.in | ||