Stand-alone DNS-over-HTTPS resolver using libcurl
doh
$ doh example.com
$ doh -t MX example.com
$ doh -s https://dns.example.com/dns-query example.com