Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

hitzemann/pdns-v6-autorev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository is no longer under development. It is marked as archived and read-only!

PowerDNS Autoreverse Generator v0.6 (c) Simon Hitzemann, Aki Tuomi 2013

1. Installation
2. Configuration
3. Testing

1. Installation

  Copy the script to the place of your choice. It requires no external 
  perl components. 

2. Configuration

  To use the script you need some other backend to keep the SOA and static
  records. Configure powerdns with these (replace with your config):

  launch=gsqlite3,pipe
  gsqlite3-database=/etc/powerdns/pdns.db
  pipebackend-abi-version=3
  pipe-command=/etc/powerdns/rev.pl

  Also, edit the script and add your dynamic domains. Please note that the  
  prefix must be divisable by 16 bits. This means, you can use the following
  lengths: 0,16,32,48,64,80,96,112 and 128. Any other prefix length will 
  be rejected.  

  Remember to add the corresponding forward and reverse domains into the
  other backend. 

  It is important to use an absolute path to your rev.cfg!

  You can now also utilize domainmetadata table if you have one. You don't 
  need to enable pdnssec support, just have the table. 
  
  To use it, set 'AUTOREV-PID' to point to the REVERSE DOMAIN of your domain.
  F.ex. if your domain is 'dyn.powerdns.com', set domainmetadata for this 
  domain with AUTOREV-PID to point to whatever ip6.arpa domain you got. 
  AUTOREV-PID accepts id number from domains table corresponding to the
  reverse domain.

  The script loads the data from database on startup, and will not be
  refreshed until next restart. 

3. Testing

  Run prove for functional testing. There is also test.pl which tries to
  measure the qps that can be achieved. I don't trust it though.
 

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published