Generating PTR records?

Hello!

In years past, I used djbdns [0]. I eventually migrated to nsd after
over a decade of djbdns as djbdns was no longer being maintained. One
thing I did like about djbdns was that I never had to write my own PTR
records; creating an A or an AAAA record automatically generated a
corresponding PTR record.

We obviously don't have this functionality in nsd (at least as far as
I'm aware!), but has anyone put together a tool that can generate a
*.in-addr.arpa.zone file given a zone file as input? I could write one
myself, but I'd prefer not to if someone else already has.

[0] http://cr.yp.to/djbdns.html

Hello Mark,

Also coming from djbdns I wrote a simple perl script years ago.
It is probably not without issues, but it does the trick for me.

Regards,
Guus.

(attachments)

nsd-convert-forward-zone-to-reverse (2.58 KB)