0.2.0 • Published 5 years ago
tdns v0.2.0
tdns
Make low-level DNS requests with retry and timeout support.
$ npm i tdns
Usage
const { Dns } = require("tdns");
(async () => {
const message = await Dns.resolve('google.com.','ANY', {additionals: true});
console.log(JSON.stringify(message, null, 2)); // prints the ANY record for google.com
})();
API
TBD
License
MIT