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.
- Host: GitHub
- URL: https://github.com/nning/powerdns_db_cli
- Owner: nning
- License: mit
- Created: 2014-10-11T22:04:59.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-09-25T09:20:16.000Z (about 2 years ago)
- Last Synced: 2024-11-27T21:17:44.641Z (11 months ago)
- Topics: cli, powerdns, powerdns-database-administration, ruby
- Language: PLpgSQL
- Size: 24.4 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 removepdns 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