I have a pool of IP addresses, but reverse DNS does not works. It works if lookup on namserver but does not work on Internet.
I requested registrar to delegate this pool to ns1.example.com
.
I added net IN NS ns1.example.com
on domain dns-hosting.
I added PTRs to ipXXX.net.example.com
to bind running on ns1.example.com
.
# host a.b.c.17
Host 17.26.18.37.in-addr.arpa. not found: 3(NXDOMAIN)
# dig +short 17.b.c.a.in-addr.arpa.
# dig +short b.c.a.in-addr.arpa.
# dig +short b.c.in-addr.arpa.
dig +short
is empty, without short it points to RIPE.
It depends a bit on the size of your subnet and the policies of your ISP if they will actually delegate the PTR records to your name servers or only allow you to supply your desired hostnames for the reverse records and they will manage the reverse zone themselves.
Either way you can use the
trace
option in dig to check/verify if the delegation is set up as you expected with:dig +trace -x your.ip.address