With this plug-in, Simple DNS Plus can automatically synthesize reverse DNS records (PTR) for all the IP addresses (IPv4 or IPv6) in a subnet.
This can be used if you manage a large number of IP addresses, and you need to provide generic reverse DNS records for these.
The plug-in will respond with reverse DNS records pointing to a synthesized host name in the format <prefix><ip-address-><suffix>. Dots and colons in IP addresses are replaces with hyphens, and you can choose to either include the full IP address, or just the right part (as per subnet size).
For example with the prefix "webserver-", the suffix ".example.com", and a DNS request for reverse DNS records for IP address 220.127.116.11 (PTR for "18.104.22.168.in-addr.arpa"), a PTR record pointing to "webserver-1-2-3-4.example.com" would be synthesized.
In the plug-in instance dialog / Plug-In Settings tab you can specify the following settings (below image):
- First IP address
The first IP address of the subnet that you want to provide reverse DNS records for.
- Subnet mask size
The mask size (in bits) of the subnet - larger the number = fewer IP addresses.
- Respond with PTR-record pointing to synthesized host name
- Prefix (optional)
First part of the synthesized host name.
- IP address
How much of the IP address should be included in the synthesize host name. Choose "Full" or "Right part".
Last part of the synthesized host name.
- Response TTL
For how long other DNS servers may cache the provided PTR / A / AAAA records.
- Respond to requests for matching host records (A / AAAA)
Also respond to host record requests matching a host name that would be synthesized in PTR requests.
Where to get this plug-in
Download from: https://github.com/jhsoftware/sdns-SmartReverseDns/releases (v. 5.2 build 3 - 8. oktober 2015)
Download the .dll file to the "PlugIns" directory under the directory where Simple DNS Plus is installed, re-start Simple DNS Plus.
For details on setting up an instance of the plug-in click here.
This plug-in is released into the public domain as open source. You are most welcome to fork it or contribute code enhancements, and / or use the source code as a starting point for developing your own plug-in.
Source code / Git repository: https://github.com/jhsoftware/sdnspi-SmartReverseDns