Script to creat PTR zone from zone file
raj at csub.edu
Mon Nov 1 18:56:12 UTC 2010
On 10/29/2010 04:13 PM, CT wrote:
> Looking to write a script to create the PTR records..
> Not much on the Web..
DOM style manipulation using dnspython. It can fully parse a RFC style
zone file including following $INCLUDE statements.
I've been planning on just having it do nsupdate calls rather than
outputing text and allowing it to read in an arbitrary number of zones
either from stdin or via a zone transfer.
Python script attached.
Russell A Jackson <raj at csub.edu>
California State University, Bakersfield
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2408 bytes
Desc: not available
More information about the bind-users