Skip to content

Releases: ritcheydominic/ptrgen

ptrgen v0.2

04 Jul 05:54

Choose a tag to compare

This is the second release of ptrgen! ptrgen generates PTR records for domain names and both IPv4 and IPv6 addresses/subnets. New with this release is several terminal arguments that you can use to control record generation.

Terminal Usage

Generate a PTR record for a single IP address:
python ptrgen.py 192.0.2.1

Generate PTR records for an IP address range:
python ptrgen.py 198.51.100.0/24

Generate a PTR record with a TTL value:
python ptrgen.py -ttl 3600 203.0.113.0

Generate PTR records for the IPv4/IPv6 addresses mapped by a domain name:
python ptrgen.py example.com

Generate PTR records for only the IPv6 addresses in an object:
python ptrgen.py -no4 example.com

Generate PTR records in given IPv4/IPv6 DNS zones:
python ptrgen.py -z4 2.0.192.in-addr.arpa. -z6 8.b.d.0.1.0.0.2.ip6.arpa. example.com

ptrgen v0.1

17 Jul 03:33

Choose a tag to compare

This is the first release of ptrgen! ptrgen allows you to generate PTR records for IPv4 and IPv6 addresses and ranges.

Terminal Usage

Generate a PTR record for a single IP address:
python3 ptrgen.py 192.0.2.1

Generate a PTR record for an IP address range:
python3 ptrgen.py 198.51.100.0/24

Generate a PTR record for an IP address range with a TTL value:
python3 ptrgen.py 203.0.113.0/24 3600