Skip to content

Latest commit

 

History

History

getdns-node-sample-resolver-check-tls

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

getdns logotype

Node.js bindings of getdns, a modern asynchronous DNS API.

getdns-node: NPM | Examples | Issues | getdns-node build status for the master branch
getdns: Website | Specification | Presentations | Releases

getdns-node-sample-resolver-check-tls

Sample to demonstrate the usage of TLS authentication in the getdns nodejs API and host it in an express web context. Resolves records over TCP, TLS, TLS with hostname authentication, and opportunistic TLS falling back to TCP.

You need the getdns library installed prior to installing and running this sample.

# Install other dependencies.
npm install

# Start the sample server.
npm run --silent start

# Run from browser using the following example url
open "http://localhost:50000/resolverinfo?resolver=185.49.141.38&hostname=getdnsapi.net&query=nlnetlabs.nl"

Example url: http://localhost:50000/resolverinfo?resolver=185.49.141.38&hostname=getdnsapi.net&query=nlnetlabs.nl


getdns logotype getdnsapi/getdns-node Copyright © 2014, 2015, 2016, 2017, 2018, Verisign, Inc. All rights reserved. Released under the BSD 3-clause License.