You can easily host reverse DNS with NS1 for both IPv4 and IPv6 subnets.
To configure reverse DNS for an IPv4 subnet, you need to create a new reverse zone for the subnet. Suppose you want to host reverse DNS for the 188.8.131.52/24 subnet:
- Create a zone with the domain 3.2.1.in-addr.arpa
- Within the zone, create records for each IP of type PTR, with the answer being the name associated with the IP. For example, create a record like 184.108.40.206.in-addr.arpa/PTR with name my.hostname.com if you want a reverse lookup of 220.127.116.11 to resolve to my.hostname.com.
- If you are the owner of the subnet, change the delegation of the reverse DNS with your RIR (e.g., ARIN, RIPE, etc) to point to the DNS servers assigned to your reverse zone (shown in the left panel on your zone's configuration page in the NS1 portal).
To configure reverse DNS for an IPv4 subnet smaller than a /24, say, a /29, the owner of the IP space (e.g., your hosting provider) will need to sub-delegate a reverse zone on your behalf. You'll need to work with them directly to do so. In general, they will subdelegate a zone with a name like 0/18.104.22.168.in-addr.arpa, or 0-22.214.171.124.in-addr.arpa. NS1 allows you to create zones in either format. The steps are:
- Ask your provider which format ("/" or "-") they will use, and then create the zone as instructed
- Within the zone, create records for each IP of type PTR -- for example, 4.0/126.96.36.199.in-addr.arpa/PTR to provide a reverse name for 188.8.131.52 when the 184.108.40.206/29 network has been sub-delegated.
- Give your provider the DNS servers assigned to your reverse zone by NSONE (shown in the left panel on the zone's configuration page) so they can enact the sub-delegation.
Configuring reverse DNS for an IPv6 subnet is similar -- if you have been directly assigned the IPv6 space by a RIR, you can delegate the reverse DNS to NS1 yourself; if not, you will need to work with your provider to sub-delegate the reverse DNS.
IPv6 reverse domains look like c.b.a.220.127.116.11.18.104.22.168.1.ip6.arpa (for a /44) and can extend further for smaller subnets. Follow the same process as with IPv4 for creating a reverse zone, PTR records in the zone, etc.