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.
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
Step 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.
Step 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.
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: