0.0
Low commit activity in last 3 years
No release in over a year
Minimal command-line interface for PowerDNS database administration.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.5, >= 1.5.4
~> 13.0.6

Runtime

~> 7.0, >= 7.0.7.2
~> 3.0, >= 3.0.2
~> 1.2, >= 1.2.2
 Project Readme

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.