-
Hi all, For my home network I use my recursor with dnsdist, config:
Example answer for version 1.8:
Example answer for version 1.9:
Also worth nginx with proxy 0.0.0.0:443 ->127.0.0.1:5353 (with ssl) With version dnsdist 1.8 this works correctly, with version 1.9, unfortunately, I get an error when executing requests, and the service itself starts without any errors. Please tell me what could be causing this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I also tried adding certificates directly to dnsdist in the addDOHLocal block and indicated port 443 there, the result was the same, I also tried using addDOH3Local instead of addDOHLocal. |
Beta Was this translation helpful? Give feedback.
-
Hi! I'm afraid this is caused by #13850. What happens is that |
Beta Was this translation helpful? Give feedback.
-
Putting nginx in front of dnsdist is even more problematic because nginx's proxy module uses HTTP/1 to talk to upstreams. (Supposedly you can work around this by using the grpc module instead, even though you're not actually doing grpc.) |
Beta Was this translation helpful? Give feedback.
Hi! I'm afraid this is caused by #13850. What happens is that
dnslookup
advertises support forHTTP/1.1
andHTTP/2
(usingALPN
in theTLS ClientHello
) and DNSdist wrongly selects the first one (HTTP/1.1
) instead ofHTTP/2
. This is a bug in DNSdist, but it would also be nice fordnslookup
to advertiseHTTP/2
beforeHTTP/1.1
, in my humble opinion.