2

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?

1 Answer 1

2

You create a 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/

2
  • I will try it out but I def need the apex as well.
    – Jackie
    Commented Jul 26, 2018 at 9:23
  • I'm not sure what you are saying in this comment. As I indicated, above, this does work at the apex in Cloudflare. Commented Jul 26, 2018 at 10:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.