0.0.5 • Published 5 years ago
dns-client v0.0.5
DNS Client
This project is an implementation of a DNS record lookup service using Node.js.
Install
npm install dns-client
Usage
let client = new Client();
client.setUpServers(_=>{
client.on("result",function(data){
console.log(data)//{answers:[],'name-servers':[],'addtional-records':[]}
client.close();
});
client.resolve("google.com","A");
})