http-dns
Node DNS library that uses Google's HTTPS DNS API for doing queries in the browser
Last updated 4 years ago by octoblu .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install http-dns 
SYNC missed versions from official npm registry.

http-dns

Node DNS library that uses Google's HTTPS DNS API for doing queries in the browser

NOTE: only resolveSrv is supported at this time

dns.resolveSrv(hostname, callback)

Uses the DNS protocol to resolve service records (SRV records) for the hostname. The addresses argument passed to the callback function will be an array of objects with the following properties:

  • priority
  • weight
  • port
  • name
{
  priority: 10,
  weight: 5,
  port: 21223,
  name: 'service.example.com'
}

Build Status Test Coverage Dependency status devDependency Status Slack Status

NPM

Current Tags

  • 3.0.1                                ...           latest (4 years ago)

10 Versions

  • 3.0.1                                ...           4 years ago
  • 3.0.0                                ...           4 years ago
  • 2.0.6                                ...           4 years ago
  • 2.0.5                                ...           4 years ago
  • 2.0.4                                ...           4 years ago
  • 2.0.3                                ...           4 years ago
  • 2.0.2                                ...           4 years ago
  • 2.0.1                                ...           4 years ago
  • 1.0.4                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (12)

Copyright 2014 - 2017 © taobao.org |