[dnsdist] Is the sub-path of a DoH query passed to the backend?

Remi Gacogne remi.gacogne at powerdns.com
Mon May 17 10:14:03 UTC 2021


Hi,

On 5/12/21 7:51 PM, Suresh Gunasekaran via dnsdist wrote:
> I see that in dnsdist 1.6.0 sub-paths of a DoH query can be accepted by 
> setting the exactPathMatching option to false in addDOHLocal().
> https://dnsdist.org/reference/config.html#addDOHLocal 
> <https://dnsdist.org/reference/config.html#addDOHLocal>
> 
> I am trying to find out whether I will be able to add custom rules in 
> the backend based on the sub-path. Is that possible? Will the sub-path 
> be passed to the backend?

I'm afraid the sub-path is not passed to the backend, no. It would 
technically be possible to pass it using the proxy protocol custom 
values, but we don't support that at the moment.

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


More information about the dnsdist mailing list