What this PR does / why we need it:
Loadbalancers on AWS provide the hostname address. If the base domain name of the NLB's hostname is a known AWS region, an alias A record is created instead of a CNAME record.
If the loadbalancers supports dual-stack, the hostname address has IPv6 addresses, a separate alias AAAA record is needed to be usable with IPv6.
For a DNSEntry for such targets, a DNS IP lookup is performed on mapping the CNAME to alias record(s). If the lookup returns IPv4 and IPv6 addresses on the target hostname, alias records for A and AAAA are created, respectively.
Which issue(s) this PR fixes:
Fixes #340
Special notes for your reviewer:
Release note:
[AWS Route53] Create an additional alias `AAAA` record for load balancers (NLBs) if load balancer target domain name has an IPv6 address.
What this PR does / why we need it: Loadbalancers on AWS provide the hostname address. If the base domain name of the NLB's hostname is a known AWS region, an alias
A
record is created instead of aCNAME
record. If the loadbalancers supports dual-stack, the hostname address has IPv6 addresses, a separate aliasAAAA
record is needed to be usable with IPv6. For aDNSEntry
for such targets, a DNS IP lookup is performed on mapping theCNAME
to alias record(s). If the lookup returns IPv4 and IPv6 addresses on the target hostname, alias records forA
andAAAA
are created, respectively.Which issue(s) this PR fixes: Fixes #340
Special notes for your reviewer:
Release note: