Skip to content
/ doh Public

Simple DNS over HTTPS cli client for Cloudflare

License

Notifications You must be signed in to change notification settings

mxssl/doh

Repository files navigation

doh

Simple DNS over HTTPS cli client for cloudflare

Install

Linux

wget https://github.com/mxssl/doh/releases/download/v0.0.1/doh_linux_x86_64.tar.gz
tar zvxf doh_linux_x86_64.tar.gz
mv doh /usr/local/bin/doh
chmod +x /usr/local/bin/doh
rm doh_linux_x86_64.tar.gz

Golang

go install github.com/mxssl/doh@latest

Usage

doh [query type] [domain name]

Example

$ doh a google.com
name: google.com
type: 1
ttl: 166
data: 142.250.180.238

TODO

  • ACE form encode (punycode)

About

Simple DNS over HTTPS cli client for Cloudflare

Resources

License

Stars

Watchers

Forks

Packages

No packages published