The following script takes a Bind9 zonefile, gets all AAAA records from it and generated PTR records based on them.
What you need to do:
- Edit the Zone header in the script.
- Run the script with
./generate_v6_ptr.sh /path/to/zonefile.zone
This will output the zones on STDOUT. If you want to save this to a zonefile, you can use this example:
./generate_v6_ptr.sh /path/to/zonefile.zone > /etc/bind/ip6.arpa.zone
cryptsetup
if i have /64 will generate too in same times?