Skip to content

HTTP API for the PowerDNS Database ( Delete domain command included)

Notifications You must be signed in to change notification settings

notihnio/PowerDNS-API

 
 

Repository files navigation

PowerDNS::API

HTTP/JSON API for the PowerDNS authoritative DNS server.

This makes it easy to program DNS changes without every system having a database connection or full access to the DNS database.

There are basic installation instructions on the wiki.

Database setup

The system needs an 'accounts' table and a 'cas' column in the domains table. The docs/schema.sql file has the SQL to be run to set this up.

For the 'CAS' API system to work properly, the system expects the transaction isolation level of MySQL to be 'REPEATABLE READ' (this is the default).

New Command Implementation - Delete domain

example curl -X DELETE -u username:password http://apidomain/api/domain/:id

About

HTTP API for the PowerDNS Database ( Delete domain command included)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 97.5%
  • CSS 2.1%
  • Shell 0.4%