Skip to Content

Solved: How do I setup A/AAAA record for specific zone main domain?

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.

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

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.

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 records

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:

Verify the setup from the FortiADC.

Tags

Tags

    Ads Blocker Image Powered by Code Help Pro

    Ads Blocker Detected!!!

    This site depends on revenue from ad impressions to survive. If you find this site valuable, please consider disabling your ad blocker.