In order to create a PTR record for the IPv4 10.0.0.15 the zone should look like this:
0.0.10.in-addr.arpa
And then in that zone you have an entry such as:
15 PTR host.example.com.
You could of course make larger zones like naming the zone as 10.in-addr.arpa and then use entries like:
15.0.0 PTR host.example.com.
So the things to keep in mind is:
-
The TLD is in-addr.arpa for IPv4 and ip6.arpa for IPv6.
-
The IP will be written in reverse (so IPv4 A.B.C.D is in reverse for PTR records written as D.C.B.A.in-addr.arpa).
-
The record type is PTR.
-
And when typing the hostname you want this IP to resolve into dont forget that dot at the end.
So if you want your IP to reverse resolve into “host.example.com” when you type the PTR record in the zone it should be written as “PTR host.example.com.”