[dns-operations] CLI Tool for DoH

Petr Špaček petr.spacek at nic.cz
Tue Sep 29 08:47:29 UTC 2020


On 29. 09. 20 3:30, cjc+dns-oarc at pumpky.net wrote:
> Looking for a command line tool to do testing of DoH. Something like
> dig or drill with DoH support. I suspect there's a Python tool or
> the like out there somewhere, but my google-fu is failing.
> 
> Don't want to re-invent the wheel if I don't have to.

Knot DNS 3.0 has DoH support in kdig:

Examples for various DoH server implementations:
$ kdig @1.1.1.1 +https example.com.
$ kdig @193.17.47.1 +https=/doh example.com.
$ kdig @8.8.4.4 +https +https-get example.com.

Version 3.0 was released couple weeks ago and might not be in Linux distributions yet. Packages for common distributions and also source code is available from https://www.knot-dns.cz/download/

-- 
Petr Špaček  @  CZ.NIC



More information about the dns-operations mailing list