[dnsdist] DoH: 302 redirecting / to a help page

Stephane Bortzmeyer bortzmeyer at nic.fr
Mon Sep 16 14:17:30 UTC 2019


On Mon, Sep 16, 2019 at 03:02:28PM +0200,
 Daniel Stirnimann <daniel.stirnimann at switch.ch> wrote 
 a message of 13 lines which said:

> The feature is only available in 1.4.0-rc2. Is this version string correct?

With 1.4.0-rc2, the configuration is accepted but seems ignored. I have:

addDOHLocal("0.0.0.0:443", "/etc/dnsdist/server.pem", "/etc/dnsdist/server.key")
addDOHLocal("[::]:443", "/etc/dnsdist/server.pem", "/etc/dnsdist/server.key")

supportpagemap = { newDOHResponseMapEntry("about", 200, "A documentation will appear one day") }
dohFE = getDOHFrontend(0)
dohFE:setResponsesMap(supportpagemap)

And a request for /about yields 400 "Unable to parse the request".



More information about the dnsdist mailing list