Closed leiless closed 4 years ago
BTW, the go.sum
file can be put into .gitignore
, since it's derived from go.mod
.
Thank you for your contribution!
The JSON-based DoH protocol isn't standardized yet. So this issue is expected to happen. I am delighted to see Alibaba (and more companies) adopting DoH in their services, which is a good sign.
BTW, the
go.sum
file can be put into.gitignore
, since it's derived fromgo.mod
.
I will do this before my next commit. Thank you for telling me this!
BTW, the
go.sum
file can be put into.gitignore
, since it's derived fromgo.mod
.
Update: I will not put go.sum
into .gitignore
for security and safety reasons, see this post for why.
Update: I will not put go.sum into .gitignore for security and safety reasons, see this post for why.
Gotcha 👍
HOWTO reproduce
Use https://dns.alidns.com/resolve in
doh-client.conf
Verify manually
Peer behaviour
Root cause
AliDNS JSON DoH will return a flattened
Question
response if there is only one question section.Affected DoH server
AFAIK, https://www.alidns.com/faqs/#dns-safe
NOTE
While there is unclear whether flattened
Question
is acceptable, https://developers.google.com/speed/public-dns/docs/doh/json says nothing about this. It's very likely being a bug in AliDNS DoH server.