Application Load Balancer blocking DNS Propagation

0

I created an application load balancer to handle SSL (ACM certificate) for my website hosted on an EC2 server. My DNS registrar is not Amazon. The only DNS records currently propagating globally are related to the load balancer. Other records (MX, TXT, etc) are not propagating. My registrar re-pushed DNS yesterday, but there has been no change. Did I misconfigure the load balancer? How do I correct this?

Thanks!

1 Answer
0

Hi,

Based on the information on the comments, it appears you are not routing the traffic through ALB. The A record for EC2 IP will directly route the traffic to EC2 i.e. it wont go via ALB. So you need to do the following:

  • Did you check if you are able to access the application via ALB DNS name directly? You may want to debug any problems connecting to EC2 via ALB. E.g. Issues with Target Group, Health Checks, Security Groups etc.
  • The CNAME record correctly points to the ALB DNS name (it should not be an A record pointing to the ALB IP or EC2 IP).
  • Attaching the ACM certificate to the HTTPS listener on your ALB is a crucial step. Double-check to ensure it is correctly associated. Refer this

Hope this is helpful.

Thanks, Rama

profile pictureAWS
Rama
answered 2 months ago
profile picture
EXPERT
reviewed a month ago
  • I can access the application through the ALB DNS name directly. If I remove the A record, traffic is routed through the ALB and http and https work fine. The CNAME record is pointed to the ALB DNS name. But removing the A record somehow prevents my other DNS records from propagating.

  • Thanks for your help so far. As far as I can tell, MX records won't propagate without an A record. Is there a way to use the ALB with an A record? Or another avenue I'm missing? Thanks!

  • Hi, understand your blocker now. Since you are using an external DNS provider, it is likely they don't allow you to associate the ALB DNS name for the apex record, they need an IP address. Since Route 53 allows you to use ALB DNS for an A record. The workaround I can think of is to create a hosted zone in Route53 and request your domain provider to re-direct your requests to this AWS NameServer (you will find this info as soon as you create your hosted zone) post that, just add the A records and the CNAME records. Pls refer this for more information: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/migrate-dns-domain-in-use.html

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions