FortiADC
FortiADC enhances the scalability, performance, and security of your applications whether they are hosted on premises or in the cloud.
Khidzir_MN
Staff
Staff
Article Id 225032
Description

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.

Scope

FortiADC and FortiADC VM.

Solution

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.

 

From GUI:

 

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 200.168.192.in-addr.arpa.

 

ptr_setup.PNG

 

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.


ptr_addr.PNG

 

ptr_record.PNG

 

From CLI:

 

# 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.

 

ptr_test.PNG

 

Refer to below documentation for more information on configuring DNS zone:

https://docs.fortinet.com/document/fortiadc/7.1.0/handbook/436760/configuring-dns-zones

Contributors