DNS client and server implementation, supporting both https and udp. https://push.rocks/smartdns
Go to file
2017-07-18 15:54:06 +02:00
dist update README 2017-07-18 15:45:06 +02:00
docs add docs 2017-07-18 15:53:54 +02:00
test update README 2017-07-18 15:45:06 +02:00
ts update README 2017-07-18 15:45:06 +02:00
.gitignore improve 2016-11-15 22:40:40 +01:00
.gitlab-ci.yml update ci 2017-07-18 15:45:44 +02:00
npmextra.json add npmextra.json 2017-07-18 15:47:01 +02:00
package.json 2.0.8 2017-07-18 15:54:06 +02:00
readme.md update README 2017-07-18 15:45:06 +02:00
README.md update README 2017-02-02 21:33:43 +01:00
tslint.json initial 2016-11-15 21:39:21 +01:00
yarn.lock update README 2017-07-18 15:45:06 +02:00

dnsly

smart dns methods written in TypeScript

Availabililty

npm git git docs

Status for master

build status coverage report Dependency Status bitHound Dependencies bitHound Code TypeScript node JavaScript Style Guide

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: dnsly.I_AAAA) => { // AAAA record for google.com, the I_AAAA will give you proper typings for the record return type
        // do something 
    })

MIT licensed | © 2016 - 2017 Lossless GmbH

npm