Skip to content

DNS record in Rouet53 for ALB

0

What is the preferred way to create DNS record for Application Load balancer in route53. Option 1: use Cname record Option 2: A record with Alias -> It is pointing to dualstack.*

asked 2 years ago321 views

1 Answer
0
Accepted Answer

Option 2 is advisable. It is free of cost, because it's an alias for a chargeable AWS resource that is the ALB, and it performs better, because the client will get the IP addresses directly, rather than having to perform a second query to resolve the name the CNAME points to into an IP address.

The alias option also doesn't expose the native DNS name of the load balancer to the outside world, which the CNAME would do.

EXPERT

answered 2 years ago

EXPERT

reviewed 2 years ago

EXPERT

reviewed 2 years ago

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.