This article describes how to setup PTR record for a specific IP and is ONLY focusing on the needed setup for the PTR record for a specific IP.
It is maybe necessary to preconfigure other respective zone setup and refer to the documentation at the end of this article for more information on configuring DNS zone.
It is necessary to setup PTR record for a specific IP.
For example, A/AAAA record for mail.example.com to 10.10.0.100 has been already setup but there is a requirement to setup PTR record for 10.10.0.100 as well.
In FortiADC, it is necessary to create a new Primary zone.
Step 1: Go to the Global Load Balance > Zone Tools > Zone (tab) and select Create New. In this example, 0.10.10.in-addr.arpa is used as the zone name.
Make sure to select Primary as the zone type and for the domain name, use the first 3 octet number of the IP (in reverse order) followed by the .in-addr.arpa and a dot.
For example, the example IP is 10.10.0.100, and will use 0.10.10.in-addr.arpa.
Another example, for IP 192.168.200.20, use 20.200.168.in-addr.arpa.
Step 2: Under the Zone Records, select Create New and select PTR Record.
In the PTR Address option, use the last octet number.
For example, the example IP is 10.10.0.100 and will use 100 as the PTR Address.
Another example, for IP 192.168.200.20, use 20 as the PTR Address.
# config global-dns-server zone edit "0.10.10.in-addr.arpa." set domain-name 0.10.10.in-addr.arpa. config ptr-record edit 1 set ptr-address 100 set fqdn mail.example.com. next end end end
Verify the setup from the FortiADC.