Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/renchap/ruby-pdns-reverse
A reverse-DNS management module for PowerDNS
https://github.com/renchap/ruby-pdns-reverse
Last synced: 15 days ago
JSON representation
A reverse-DNS management module for PowerDNS
- Host: GitHub
- URL: https://github.com/renchap/ruby-pdns-reverse
- Owner: renchap
- Created: 2009-11-18T14:23:12.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2013-10-21T14:57:59.000Z (over 11 years ago)
- Last Synced: 2024-12-11T18:27:29.942Z (about 2 months ago)
- Homepage:
- Size: 94.7 KB
- Stars: 7
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
=== ruby-pdns-reverse ===
This is a ruby-pdns (http://code.google.com/p/ruby-pdns/) module to allow easy management of reverse DNS using PowerDNS.
== Requirements ==
This module require ruby-pdns 0.5.0 with the regexp patch (http://groups.google.com/group/ruby-pdns-users/browse_thread/thread/35065dd3fe4f02a4).
You also need to change line 6 of ruby-pdns/lib/pdns/response.rb :
VALIDQTYPES = [:A, :CNAME, :NS, :SRV, :MX, :TXT, :PTR]== Features ==
* Answer PTR requests for configured IP ranges, using a generated hostname (12.34.56.78 will be associated with 12-34-56-78.default_domain)
* Resolves back generated reverse DNS entries to original IP== TODO ==
* Refresh reverse database periodically (reload the file)
== Install ==
* Install ruby-pdns
* Add these lines to pdns-ruby-backend.cfg (remplace with your own domains/subnets) :
## ruby-pdns-reverse configuration
# Database file for reverse (one "ip,host" per line)
reverse.database = /etc/pdns/reverse-database.txt# Domains for which we should answer A requests (should be all your domains used for reverse DNS)
reverse.domains = reverse.domain1.tld,reverse.domain2.tld# Subnets for which we should provide reverse DNS entries, here 192.168.0.0/24 and 10.11.0.0/16
reverse.subnets = 192.168.0,10.11# Default domain, used to generate reverse DNS entries when the requested IP/reverse is not in the database
# 12.34.56.78 will be associated with 12-34-56-78.default_domain
reverse.default_domain = reverse.domain1.tld* Drop reverse.pdns in your configurer ruby-pdns records directory (/etc/pdns/records with default configuration)
* ruby-pdns should load automaticaly the reverse.pdns module, and start answering== Credits ==
* Renaud Chaput