A TypeScript library for smart DNS methods, supporting various DNS records and providers.
Go to file
2017-01-27 00:39:43 +01:00
dist fix failing of non existent record 2017-01-27 00:39:24 +01:00
test fix failing of non existent record 2017-01-27 00:39:24 +01:00
ts fix failing of non existent record 2017-01-27 00:39:24 +01:00
.gitignore improve 2016-11-15 22:40:40 +01:00
.gitlab-ci.yml initial 2016-11-15 21:39:21 +01:00
package.json 2.0.3 2017-01-27 00:39:43 +01:00
README.md improve README 2016-11-15 22:48:58 +01:00
tslint.json initial 2016-11-15 21:39:21 +01: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 
    })

npm