kometchtech / docker-build

personal docker build for armhf and aarch64
15 stars 5 forks source link

[dnsdist] Enable DoH backend support #45

Closed agneevX closed 1 year ago

agneevX commented 1 year ago

Hello!

Currently, I get this error when I create a new DoH Server:

Fatal Lua error: [string "chunk"]:11: Caught exception: Outgoing DNS over HTTPS support requested (via 'dohPath' on newServer()) but nghttp2 support is not available

It appears that the binary needs to be compiled with nghttp2.

Here's the relevant PR diff: https://github.com/PowerDNS/pdns/pull/10635/files

kometchtech commented 1 year ago

@agneevX I tried to respond with commit https://github.com/kometchtech/docker-build/commit/2dcdf56303abad824341a5a34399f60e43c64889 . Could you please check if it works there?

agneevX commented 1 year ago

Thanks. I tried a simple config:

newServer({address="1.1.1.1:443", tls="openssl", dohPath="/dns-query"})

However, it's marked as down. No errors though regarding nghttp2.

agneevX commented 1 year ago

Weirdly enough, 8.8.8.8 works

newServer({address="8.8.8.8:443", tls="openssl", dohPath="/dns-query"})

Thanks for your help.