New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

h2dns

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

h2dns

A DNS Server over Google's HTTPS DNS API in HTTP/2 Protocol

  • 1.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
Maintainers
1
Weekly downloads
 
Created
Source

DNS Over HTTP/2

Coverity Scan Build Status

A DNS Server over Google's HTTPS DNS API in HTTP/2 Protocol.

QuickStart

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.

Tips

Inspired by gdns-go, but do less, I'd like to keep it as pure as possible.

So,

  1. No cache. use it as a backend, dnsmasq or unbound as frontend, or fwdns
  2. No proxy. setup your proxy globally, the script will simply honor it.
  3. Less config. if your public ip is changed, restart the script.

Keywords

FAQs

Package last updated on 01 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc