diff --git a/doh.1 b/doh.1 new file mode 100644 index 0000000..44d301a --- /dev/null +++ b/doh.1 @@ -0,0 +1,28 @@ +.\" You can view this file with: +.\" nroff -man doh.1 +.\" Written by Daniel Stenberg +.\" +.TH doh 1 "17 Sep 2019" "doh 0.1" "doh Manual" +.SH NAME +doh \- query a DoH server +.SH SYNOPSIS +.B doh [options] [host] [server URL] +.SH DESCRIPTION +.B doh +sends DNS queries to a DNS-over-HTTPS (DoH) server. If no server URL is +specified, it defaults to Cloudflare's public server. +.SH OPTIONS +.IP \-h +Show the help output. +.IP \-k +Run in insecure mode. It completely switches off certificate checking of the +DoH server! +.IP \-t +Test mode. Returns an exit code if there isn't a proper DoH response. +.IP \-v +Verbose mode. Shows lots of details from the underlying HTTPS connection and +transfer. +.IP \-V +Show version number and exit. +.SH WWW +https://github.com/curl/doh