snippetMinor
How do I configure an AWS network load balancer with an A record in Cloudflare
Viewed 0 times
howwithrecordcloudflareawsloadbalancernetworkconfigure
Problem
I am trying to use an AWS Network Load Balancer to point at a group of servers. I would then like to take my DNS and point it at the load balancer. However, after I set everything up I cannot find and ip address for the AWS load balancer. I only see a URL value but the A-record in Cloudflare requires an actual IP.
How do I configure the DNS to point at the Load Balancer?
How do I configure the DNS to point at the Load Balancer?
Solution
You create a
This feature is enabled by default at the apex.
https://blog.cloudflare.com/introducing-cname-flattening-rfc-compliant-cnames-at-a-domains-root/
CNAME record referencing the assigned hostname of the balancer as the target.CNAME records are not valid at the apex of a zone (i.e. the "naked" domain, without www or any other prefix) but Cloudflare allows you to create one there -- sort of -- they actually allow you to believe that you're creating one there, and then their service automatically transforms it into one or more valid A-records, dynamically.This feature is enabled by default at the apex.
https://blog.cloudflare.com/introducing-cname-flattening-rfc-compliant-cnames-at-a-domains-root/
Context
StackExchange DevOps Q#4602, answer score: 2
Revisions (0)
No revisions yet.