An open API service indexing awesome lists of open source software.

https://github.com/nning/powerdns_db_cli

Minimal command-line interface for PowerDNS database administration.
https://github.com/nning/powerdns_db_cli

cli powerdns powerdns-database-administration ruby

Last synced: about 2 months ago
JSON representation

Minimal command-line interface for PowerDNS database administration.

Awesome Lists containing this project

README

          

# powerdns_db_cli

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

## Installation

From source:

rake install

Or from rubygems.org:

gem install powerdns_db_cli

## Usage

pdns domain list
pdns domain create
pdns domain remove

pdns record list [type]
pdns record create [prio] [ttl] [auth]
pdns record remove [content] [prio]

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

[0]: https://github.com/rails/rails/tree/master/activerecord
[1]: https://github.com/erikhuda/thor
[2]: https://github.com/kennethkalmer/powerdns-on-rails
[3]: http://guides.rubyonrails.org/active_record_querying.html