Skip to content

shivam-g10/DNS-Client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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");
})

About

DNS Lookup using UDP

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published