A DNS Server over Google's HTTPS DNS API in HTTP/2 Protocol.
npm i h2dns -g
Then start the party:
$ h2dns -h
Usage: h2dns [options]
Options:
-h, --help output usage information
-V, --version output the version number
-i, --edns-client-subnet [subnet] EDNS Client Subnet
-p, --port [6666] Port to bind
-l, --listen [127.0.0.1] Address to listen
-t, --timeout [5000] Default Http2 Request Timeout
-c, --pool [2] Concurrent Connections of Pool Size
--ping-interval [60000] Interval of ping to keep connection alive.
Inspired by gdns-go, but do less, I'd like to keep it as pure as possible.
So,