npm.io
0.2.0 • Published 7 years ago

tdns

Licence
MIT
Version
0.2.0
Deps
4
Size
47 kB
Vulns
0
Weekly
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

Keywords