Minimal command-line interface for PowerDNS database administration.
Ruby
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
.gitignore
Gemfile
LICENSE
README.md
Rakefile
TODO
docker-compose.yml
powerdns.pgsql
powerdns_db_cli.gemspec

README.md

powerdns_db_cli

Minimal command-line interface for PowerDNS database administration based on Active Record and thor. Some of the code was shamelessly copied from PowerDNS on Rails.

Installation

From source:

rake install

Or from rubygems.org:

gem install powerdns_db_cli

Usage

pdns domain list
pdns domain create <name>
pdns domain remove <name>

pdns record list <domain> [type]
pdns record create <domain> <name> <type> <content> [prio] [ttl] [auth]
pdns record remove <domain> <name> <type> [content] [prio]

With pdns -i, it is also possible to interact with the database direcly using the Active Record Query Interface.