When a DNS query is received for the GSLB service and the member configured with an FQDN is selected, Avi Load Balancer responds with a CNAME response, pointing to the FQDN of the pool member. The resolver must fully resolve the query by performing another lookup for the returned FQDN.
Avi Load Balancer can also add an A record in the response along with the CNAME response.
Activating Resolve CNAME Using UI
Navigate to
.Click Create and select Advanced Setup.
Under GSLB Pools section, select the Resolve CNAME check box.
Fill in other fields and click Save.
Activating Resolve CNAME Using CLI
Log into the Avi Load Balancer CLI and use the resolve_cname flag under configure gslbservice
mode to activate or deactivate a record addition for a CNAME
query.
[admin:ctlr-1]: > configure gslbservice <gslb service name [admin:ctlr-1]: gslbservice> resolve_cname
To deactivate, use the no resolve_cname flag.
[admin:ctlr-1]: gslbservice> no resolve_cname
If the GSLB pool member FQDN maps to multiple IP addresses, only one of them is picked by the Avi Load Balancer.