Hi Stéphane,

On 11/26/19 10:01 AM, Stephane Bortzmeyer wrote:
> By default, dnsdist 1.4.0 working as a DoH resolver does not send
> cache control headers (Cache-control:, Expires:, Last-Modified:…)
> 
> < HTTP/2 200 
> < server: h2o/dnsdist
> < content-type: application/dns-message
> < content-length: 88
> 
> I do not find how to enable them. The RFC 8484 (section 5.1)
> recommends Cache-control: based on the TTL.
> 
> cache-control = max-age=3709

You are right, this is definitely something that we should support. I
opened a feature request for it [1] so we don't forget about it.

[1]: https://github.com/PowerDNS/pdns/issues/8586

Thanks!

-- 
Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
dnsdist mailing list
[email protected]
https://mailman.powerdns.com/mailman/listinfo/dnsdist

Reply via email to