Debian Codegraph @

debian/man/doh-cli.1

raw
1 .TH DOH-CLI "1" "June 2026" "doh-cli 0.8" "User Commands"
2
3 .SH NAME
4
5 doh-cli \- a simple DNS over HTTPS client.
6
7 .SH SYNOPSIS
8
9 .B doh-cli
10 .RI [ " OPTIONS " ]
11 \fIdomain\fR
12 [ \fIrr\fR ]
13
14 .IR rr " := { A | AAAA | CNAME | HTTPS | MX | NS | SOA | SPF | SRV | SVCB | TXT | CAA | DNSKEY | DS }"
15
16 .SH DESCRIPTION
17
18 This is a simple DoH Python client (RFC 8484, GET), which supports plain and json output.
19
20 .SH OPTIONS
21
22 .TP
23 \fB\-\-debug\fR
24 show the entire response.
25
26 .TP
27 \fB\-\-dns\fR \fIdns\fR
28 choose DoH endpoint. Possible values of \fIdns\fR are:
29 .RS 4
30 .IP "\fBlibredns\fR" 4
31 The default value.
32 .IP "\fBlibredns-ads\fR" 4
33 LibreDNS No-Trackers/Ads.
34 .IP "\fBgoogle\fR" 4
35 .IP "\fBcloudflare\fR" 4
36 .IP "\fBquad9\fR" 4
37 .IP "\fBcleanbrowsing\fR" 4
38 blocks access to adult, pornographic and explicit sites, also VPNs.
39 .IP "\fBcleanbrowsing-secure\fR" 4
40 blocks access to phishing, malware and malicious domains.
41 .IP "\fBcleanbrowsing-adult\fR" 4
42 blocks access to all adult, pornographic and explicit sites.
43 .IP "\fBcira\fR" 4
44 .IP "\fBcira-protect\fR" 4
45 malware and phishing protection.
46 .IP "\fBcira-family\fR" 4
47 blocking pornographic content plus protected.
48 .IP "\fBsecuredns\fR" 4
49 .IP "\fBsecuredns-ads\fR" 4
50 blockign ads, malware and phishing.
51 .RE
52
53 .TP
54 \fB\-\-dnssec\fR
55 request DNSSEC signatures.
56
57 .TP
58 \fB\-\-json\fR
59 display DNS response in json format.
60
61 .TP
62 \fB\-\-time\fR
63 show query time. This value is related to the client request towards the DoH provider, not the actual dns response.
64
65 .TP
66 \fB\-\-url\fR \fIurl\fP
67 provide your own DoH endpoint. This option overrides the \fB--dns\fR option.
68
69 .TP
70 \fB\-\-verbose\fR
71 show the entire request.
72
73 .TP
74 \fB\-v\fR, \fB\-\-version\fR
75 print version information and exit.
76
77 .SH EXAMPLES
78
79 doh-cli libredns.gr A
80
81 doh-cli --json libredns.gr A
82
83 You can use \fBjq\fR(1) to format, parse output:
84
85 doh-cli --json libredns.gr A | jq .