by curl

curl / doh

stand-alone application for DoH (DNS-over-HTTPS) name resolves and lookups

239 Stars 41 Forks Last release: about 1 year ago (doh-0.1) MIT License 48 Commits 1 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:


Build Status

A libcurl-using application that resolves a host name using DNS-over-HTTPS (DoH).

This code uses POST requests unconditionally for this.


doh [options] host [DoH URL]

If DoH URL is left out, the Cloudflare DoH server will be used. See also list of public servers


$ doh from
TTL: 2612 seconds
AAAA: 2606:2800:0220:0001:0248:1893:25c8:1946

$ doh from TTL: 36 seconds A: A: AAAA: 2a00:1288:0110:001c:0000:0000:0000:0004 AAAA: 2a00:1288:0110:001c:0000:0000:0000:0003 CNAME: CNAME:

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.