ogham / dog

A command-line DNS client.
https://dns.lookup.dog/
European Union Public License 1.2
6.18k stars 177 forks source link

DoH for Quad9: Error [protocol]: Malformed packet: insufficient data #89

Open ftobin opened 3 years ago

ftobin commented 3 years ago

dog version 0.1.0

$ dog -H @https://dns.quad9.net/dns-query www.google.com
Error [protocol]: Malformed packet: insufficient data

Quad9 is a large public DoH provider. DoH URLs: https://www.quad9.net/news/blog/doh-with-quad9-dns-servers/

This is on Gentoo Linux:

Linux solace.neverending.org 5.10.27-gentoo #4 SMP Sat Jun 12 09:16:06 EDT 2021 x86_64 Intel(R) Core(TM) i7-6800K CPU @ 3.40GHz GenuineIntel GNU/Linux
phong-phan commented 10 months ago

Hi, did you resolved this? I had the same problem today...

fcoiffier commented 10 months ago

Hi, did you resolved this? I had the same problem today...

Could you try my fork https://github.com/fcoiffier/dog ? I merged some merge requests which could solve the problem.