Skip to content

lukeburns/hipr-hyperzone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hyperzone Middleware

Usage

First install the hipr CLI, then install hipr-hyperzone in your ~/.hipr directory:

npm i --prefix ~/.hipr hipr-hyperzone

Now you can run a hipr recursive nameserver with hipr-hyperzone middleware:

hipr hipr-hyperzone

which resolves hyperzones! You can npm i -g hyperzone to install the hyperzone CLI for managing and replicating zones, e.g. hyperzone example.com.

Library Usage

You can also use hipr-hyperzone as a library, if you're rigging up your own hipr resolver.

const { AuthServer } = require('hipr')
const hyperzone = require('hipr-hyperzone')

const server = new AuthServer(options)
server.resolver.setServers(['127.0.0.1:5349']) // root hsd stub
server.use(hyperzone())
server.bind(53)

About

hip5 middleware for hyperzones

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published