{"library":"dns-over-http","type":"library","category":null,"description":"DNS over HTTPS (DoH) client and middleware for Node.js. Version 0.2.0 provides both a server middleware for `http.createServer()` and a client for querying DNS via HTTPS. It uses centralized DNS servers (e.g., Quad9, Google, Cloudflare) and caches answers. This is an early-stage work-in-progress with limited features and no active maintenance. It differs from mature DoH libraries by offering a simple middleware interface and low-level wire format (dns-packet) support.","language":"javascript","status":"active","version":"0.2.0","tags":["javascript","dns","over","http","https","doh","server"],"last_verified":"Wed May 27","install":[{"cmd":"npm install dns-over-http","imports":["const doh = require('dns-over-http')","const { default: doh } = await import('dns-over-http')","const doh = require('dns-over-http'); doh.query({url}, questions, callback)","const handler = doh({ servers: ['1.1.1.1'] })"]},{"cmd":"yarn add dns-over-http","imports":[]},{"cmd":"pnpm add dns-over-http","imports":[]}],"homepage":null,"github":"https://github.com/jwerle/dns-over-http","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/dns-over-http","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/dns-over-http/compatibility"}}