rDNS delegation for IPv6

Currently VirtFusion allows rDNS management for IPv6 only within panel, however it is impossible to easily issue millions of PTR records.

One of the more flexible ways to accomplish that is to support delegation of clients’ prefix rDNS to their nameservers.

For example, lets assume we have xxxx:xxxx:xxxx::/48 source subnet. It is split to 65536 /64 output subnets.

Given that, one of our clients’ server will be given xxxx:xxxx:xxxx:1::/64 subnet.

To delegate rDNS for xxxx:xxxx:xxxx:1::/64 to ns1.customer.example[.]com and ns2.customer.example[.]net VirtFusion will need to create 2 NS records within source subnet Reverse DNS Zone:


1.0.0.0.0.0.x.x.x.x.x.x.x.x.x.x.ip6.arpa        3600    IN      NS      ns1.customer.example.com
1.0.0.0.0.0.x.x.x.x.x.x.x.x.x.x.ip6.arpa        3600    IN      NS      ns2.customer.example.net

Inspired by this post.