-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Running this code:
const dns = require('hdns');
(async function() {
console.log(await dns.lookup('google.com', { all: true }));
})();
Yields the following error:
(node:2258) UnhandledPromiseRejectionWarning: Error: queryAAAA EBADSIGNATURE google.com
at makeError (/home/rasengan/node_modules/bns/lib/api.js:832:15)
at makeQueryError (/home/rasengan/node_modules/bns/lib/api.js:842:10)
at API._ask (/home/rasengan/node_modules/bns/lib/api.js:137:17)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
(node:2258) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:2258) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels