Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

DNSoverHTTPinJavaScript

This is a JavaScript implementation of a [DNS over HTTP protocol] (https://datatracker.ietf.org/doc/draft-song-dns-wireformat-http/) client. It was done as a proof-of-concept/prototype at the IETF 96 Hackathon.

It uses the native-dns-packet JavaScript library, which was written for Node.js. It is combined with the code and converted to a browser version via the [Browserify] (http://browserify.org/) tool.

To use it:

  1. Set up Node.js and the npm package manager.

  2. Then install the native-dns-packet library and the buffercursor library that it depends on:

    $ npm install native-dns-packet
    $ npm install buffercursor
  1. Finally, use Browserify to create JavaScript that can be included in an HTML:
    $ browserify dnsoverhttpjsdemo-src.js -o dnsoverhttpjsdemo.js

You can copy the dnsoverhttpjsdemo.html and dnsoverhttpjsdemo.js to any web server and connect to it with a browser.

About

JavaScript implementation of a DNS over HTTP protocol client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published