I'd like to setup a catch-all for my subdomains:
*.domain.com. CNAME domain.com
But, a few specific subdomains should have their own entry:
mail.domain.com. A X.X.X.X
*.domain.com. CNAME domain.com
The problem is, how can I specify that I want the first rule to be processed before the catch-all?
As far as I can see, there is no way to reorder the rules. So, if I create a rule after the catch-all, the catch-all might be processed before the specific rule.
There's a weight parameter, but it doesn't look like it's designed for this purpose, but for load balancing.
Reply from the AWS support (emphasize mine):