Bind9 – Sending Reverse Records To Another Name Server
Occasionally I’ll have the need to send a block of reverse DNS entries from my BIND9 server over to someone else.
When you create the entries in your reverse zone, be sure to use a DNS name verses an IP address for the alternate name server:
If my subnet is 1.1.1.0/24 and I wanted to send IP 1.1.1.2 over to DNS server 2.2.2.2 to be resolved I would do it as such.
1 | 2.1.1.1.in-addr.arpa. IN NS ns1.newserver.com. |
In the above example, ns1.newserver.com resolves to 2.2.2.2.
If you try and do it like this, it will fail!:
1 | 2.1.1.1.in-addr.arpa. IN NS 2.2.2.2. |
You also can’t have a PTR record and an NS record for the same address.
Happy resolving 🙂