DoH: allow configuration of HTTP header #7900
This usecase requires CORS headers otherwise browsers will not allow it.
dnsdist does not yet set the CORS header:
This feature request is about allowing operators to add HTTP headers to dnsdist's HTTP responses to allow the described usecase and potentially others. One obvious usecase is CORS
but this feature should allow the operator to configure arbitrary HTTP header (i.e. also HSTS).
HTTP header should be configurable per frontend and per SNI.
The text was updated successfully, but these errors were encountered:
With reference to https://dnsdist.org/reference/config.html#addDOHLocal, perhaps adding 'headers' to the options, taking a table, might make sense. I'm assuming that we can easily deal with tables in that place.