Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: dohdec
node v15.14.0
version:
master
endpoint
share
tweet
const dohdec = require("dohdec") const gDOH = new dohdec.DNSoverHTTPS({ url: 'https://dns.google/dns-query', preferPost: false }); const gResult = await gDOH.lookup({ name: 'example.com', json: false });
Created from: https://npm.runkit.com/dohdec
Loading…
no comments
sign in
to comment