DOH-CLI(1)
β¨ DOH-CLI π
okay bestie, gather round, because today we're talking about doh-cli β your new fave little User Commands icon, a simple DNS over HTTPS client π¦
πΈ NAME πΈ
doh-cli β a simple DNS over HTTPS client. that's it, that's the vibe. she's simple, she's cute, she does DNS over HTTPS, and she does it WELL π
β¨ SYNOPSIS β¨
doh-cli [ OPTIONS ] domain [ rr ]
rr := { A | AAAA | CNAME | HTTPS | MX | NS | SOA | SPF | SRV | SVCB |
TXT | CAA | DNSKEY | DS }
so you give her some OPTIONS, a domain, and optionally an rr (that's the record type, bestie) and she goes off and does her thing π«Ά and like, those are ALL the record types she knows:
AAAAACNAMEHTTPSMXNSSOASPFSRVSVCBTXTCAADNSKEYDS
no cap, that's the whole list π
π DESCRIPTION π
okay so, this is a simple DoH Python client β we're talking RFC 8484, and specifically the GET flavor, iykyk π and the way that she supports both plain output AND json output?? it's giving versatility. it's giving main character energy. periodt π
π OPTIONS π
--debugβ show the entire response. like, the whole thing, unfiltered, no secrets π--dns dnsβ choose your DoH endpoint, bestie! the possible values ofdnsare:librednsβ the default value. she's the moment, she's the blueprint β¨libredns-adsβ LibreDNS No-Trackers/Ads π«googlecloudflarequad9cleanbrowsingβ blocks access to adult, pornographic and explicit sites, also VPNs. very protective, very demure π€cleanbrowsing-secureβ blocks access to phishing, malware and malicious domains. she's the bodyguard fr fr π‘οΈcleanbrowsing-adultβ blocks access to all adult, pornographic and explicit sites.ciracira-protectβ malware and phishing protection π§cira-familyβ blocking pornographic content plus protected.securednssecuredns-adsβ blockign ads, malware and phishing. (yes that typo is straight from the original, we do NOT fix the queen's typos, that's her lore π)
--dnssecβ request DNSSEC signatures π--jsonβ display DNS response in json format. for the girlies who pipe into other things π--timeβ show query time. and listen, this value is related to the client request towards the DoH provider, NOT the actual dns response β so don't @ her about it, it's measuring the wrong thing on purpose bestie π«--url urlβ provide your own DoH endpoint. this option overrides the--dnsoption. she's got range, she's custom π--verboseβ show the entire request π-v,--versionβ print version information and exit. bye bestie π«Ά
π EXAMPLES π
the classics, as written:
doh-cli libredns.gr A
and with the json glow-up:
doh-cli --json libredns.gr A
You can use jq(1) to format, parse output:
doh-cli --json libredns.gr A | jq .
look at her. piping. formatting. parsing. she ATE π
π SEE ALSO: technically the page points you at jq(1) for formatting and parsing output β go say hi to her too π
okay so that's the whole page bestie, and literally every last crumb is in here β every flag, every DNS provider, every record type, every warning, all the typos, all preserved. no cap π
this gorgeous piece of work is doh-cli version 0.8, dated June 2026 β¨ she's fresh, she's thriving, she's iconic, and she is not like other DNS clients. mwah π
ππ¦
π¦ where this page comes from
- ubuntu stonking: doh-cli 0.8-3 Β· GPL-3-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms