Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

AWS officially recommends CNAME records for ELBs, but the IP addresses don't change regularly and also CNAME for root host name won't work if other records are present, so many sysadmins straightaway use A records with the ELB IPs.


I have never understood the design decision to require zone apex to be an A Record. (I mean, I know that is what the RFC says, but I don't know what the RFC authors were thinking back in ancient times.)


Well, disregarding the design decision, or the RFC, it's basically wrong to use CNAME alongside of other records, especially MX records.

Considering most active domains have MX records under the root host name (like example.com.), CNAMEs won't work for these hostnames.

If there's native implementation for an "ALIAS" record which only points to the corresponding A record of the target, then it will work anywhere.


> the IP addresses don't change regularly

This is only true if you have a stable level of traffic, IIRC. If they have to scale the ELB up or down the IPs will change.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: