Retrieve and decode DNS records using DNS-over-HTTPS (DoH) or DNS-over-TLS (DoT).
This is a monorepo that holds a few related packages:
- dohdec: A Node library for DoH and DoT.
- dohdec-cli: A command line interface for dohdec
- mock-dns-server: A DoT server that is only used for testing.
If you want to use the command line, you MUST now install dohdec-cli
:
npm install -g dohdec-cli
Apologies; I didn't think anyone would want to use the library on its own when I built this originally.
- Install with
pnpm install -r
, see. The important thing (for example) is that thedohdec-cli
package ends up depending on the local version ofdohdec
.
This project now only supports versions of Node that the Node team is
currently supporting.
Ava's support
statement
is what we will be using as well. Currently, that means Node 12
+ is
required. Only ES6 modules (import) are supported.