Go to file
Georg Pfuetzenreuter 1487cfdd70
Escape zone names
Support zones containing slashes in their name by urlencoding the zone
name added to the API URL.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-10-20 21:49:09 +02:00
suse Add files for packaging 2023-11-12 17:44:20 +01:00
LICENSE Initialize 2023-11-12 17:17:48 +01:00
pdns-genrev.py Escape zone names 2024-10-20 21:49:09 +02:00
README.md Improve README formatting 2023-11-12 17:51:14 +01:00

pdns-genrev

Tool to generate PTR records in reverse zones based off A/AAAA records in forward zones.

Configuration

Requires the following environment variables to be set:

GENREV_KEY - the API key defined in the PowerDNS configuration

GENREV_URL - URL to the PowerDNS webserver, without a path (for example http://[::1]:8081)

GENREV_ZONES - comma separated list of forward zones to scan