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
Description

This article describes how to setup A/AAAA record for specific zone main domain and is ONLY focusing on the needed setup for the A/AAAA record for the zone main domain.

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 have requirement to setup A/AAAA record for the main domain.

 

For example, A/AAAA record is already setup for www.example.com but there is a  requirement to setup A/AAAA record for example.com as well.

 

In FortiADC,  add the A/AAAA record for example.com under the same zone as the www.example.com.

 

From GUI:

 

1) Go to the Global Load Balance -> Zone Tools -> Zone (tab) -> <respective zone> to add the record.

In This example, example.com is used as the zone name.

 

zone_name.PNG

 

2) Under the Zone Records, select Create New and select A/AAAA Record.

In the Host Name option, instead of using the domain example.com, use the '@'. 

 

IPv4 is used for this example.

 

zone_setup.PNG

 

zone_record.PNG

 

From CLI:

 

# config global-dns-server zone
    edit "fqdn_generate_example.com."
    set type fqdn-generate
    set domain-name example.com.
    config a-aaaa-record
         edit 1
             set hostname @
             set ip 10.10.10.10
         next
    end
end

 

Verify the setup from the FortiADC:

 

zone_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