1
mirror of https://git.burble.com/burble.dn42/dn42regsrv.git synced 2024-02-26 20:28:04 +01:00
Mirroring disabled because the repo is behind Cloudflare
Go to file
2019-06-01 19:46:23 +01:00
contrib Update URL and add new burble.dn42 reverse range 2019-05-26 09:42:37 +01:00
StaticRoot Refactor API to include key and attribute matching 2019-02-16 15:20:35 +00:00
API.md Add api/registry/.meta endpoint 2019-05-26 19:59:30 +01:00
dn42regsrv.go Tidy updating of th registry to fix use on non-master branches 2019-06-01 19:46:23 +01:00
dnsapi.go Add API for DNS Root Zone records 2019-03-08 19:57:55 +00:00
README.md Update public explorer link in README 2019-03-31 11:33:18 +01:00
regapi.go Add api/registry/.meta endpoint 2019-05-26 19:59:30 +01:00
registry.go Tidy updating of th registry to fix use on non-master branches 2019-06-01 19:46:23 +01:00
roaapi.go Don't emit ROA rules if the prefix length is greater than the MaxLen defined in filter{,6}.txt 2019-04-22 21:06:29 +01:00
static.go Initial Commit 2019-02-09 21:17:17 +00:00

dn42regsrv

A REST API for the DN42 registry, written in Go, to provide a bridge between interactive applications and registry data.

A public instance of the API and explorer web app can be accessed via:

Features

  • REST API for querying DN42 registry objects
  • Able to decorate objects with relationship information based on SCHEMA type definitions
  • Includes a simple webserver for delivering static files which can be used to deliver basic web applications utilising the API (such as the included DN42 Registry Explorer)
  • Automatic pull from the DN42 git repository to keep the registry up to date
  • Includes a responsive web app for exploring the registry
  • API endpoints for ROA data in JSON, and bird formats
  • API endpoint to support the creation of DNS root zone records

Building

Requires git and go

go get -insecure git.dn42.us/burble/dn42regsrv

Running

Use --help to view configurable options

${GOPATH}/bin/dn42regsrv --help

The server requires access to a clone of the DN42 registry and for the git executable to be accessible.
If you want to use the auto pull feature then the registry must also be writable by the server.

cd ${GOPTH}/src/git.dn42.us/burble/dn42regsrv
git clone http://git.dn42.us/dn42/registry.git
${GOPATH}/dn42regsrv

A sample service file is included for running the server under systemd

Using

By default the server will be listening on port 8042.
See the API.md file for a detailed description of the API.

Support

Please feel free to raise issues or create pull requests for the project git repository.

#ToDo

Server

  • Add WHOIS interface

DN42 Registry Explorer Web App

  • Allow for attribute searches