News for hackers. Stuff that matters.
Re:Load Balancers need static IPs by mike-cardwell on Wednesday September 01, 2010 @06:48PM (#1654600)
There's no need to use a load balancer for MX. The protocol it's self handles the problem of machines being offline. I agree with your point about not being able to point the root of your domain at an ELB though... I wasn't aware that you can't use a CNAME at the root.
Re:Load Balancers need static IPs by agmiklas on Wednesday September 01, 2010 @06:58PM (#1654625)
The problem though is that you can't put MX and CNAME records at the same point in the DNS hierarchy. So if you want to host a site on an ELB at acme.pagerduty.com, you can't then put in MX records for acme.pagerduty.com, because they'll conflict with the CNAME you need to put there.

This all happens because it creates ambiguity. If you want to look up the MX record of a name that has both MX and CNAME entries (say acme.pagerduty.com), should the name resolver:

a) Grab the MX record at acme.pagerduty.com; OR

b) Do what is usually implied by a CNAME record, and pull the target of acme.pagerduty.com, and search for an MX record at that name?

Because of the potential for conflict, the DNS spec simply forbids CNAME records from existing alongside most other records.

Re:Load Balancers need static IPs by mike-cardwell on Wednesday September 01, 2010 @07:56PM (#1654752)
Of course. That's a pretty poor oversight on Amazons side.