1.9 KiB
1.9 KiB
dnsly
smart dns methods written in TypeScript
Availabililty
Status for master
Usage
we recommend the use of TypeScript for optimal intellisense
import * as dnsly from 'dnsly'
let myDnsly = new dnsly.Dnsly('google') // uses Google DNS Servers e.g 8.8.8.8
myDnsly.getRecord('example.com','AAAA') // returns promise
.then(record => { // AAAA record for google.com
// do something
})