REST API Plugin
Just install the package via npm by doing
$ npm install -g dynsdjs-plugin-api
You can configure this plugin through Environment variables
DYNSD_API_HTTPPORT
for the HTTP service ( default is80
)
The plugin exposes an HTTP port where you can access the following endpoints:
/api
it will provide a minimal statistic about which client accessed which domain, as well as a total hit count and how many entires are present in the DNS server
An example output:
{
"clients": {
"127.0.0.1": {
"google.com": {
"hit": 1
}
}
},
"internalEntries": 0,
"totalHits": 1
}