Skip to content

piesecurity/dns-api.org

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DNS-API.org

This repository contains the code for a simple daemon which provides an online DNS-lookup service.

The service responds to requests received via HTTP with a JSON-encoded response. In the event of error this response will be empty.

Implementation

This application is written in Perl, and almost all parts of this code are trivial.

Installation

Once this repository is cloned you may launch it via the provided run script, which will cause the deamon to start on port 5001.

To deploy for the real world you'll need to install the dependencies and place behind a reverse HTTP-proxy:

# apt-get install twiggy libdancer-perl libnet-cidr-lite-perl libplack-middleware-reverseproxy-perl

Thanks to Steve Credit: Steve Kemp - https://github.com/skx/

About

Simple DNS API server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 37.6%
  • Other 36.8%
  • HTML 24.1%
  • Other 1.5%