Multiple CNAMEs - howto?
Andy Shellam (Mailing Lists)
andy.shellam-lists at mailnetwork.co.uk
Sat Oct 28 11:59:39 UTC 2006
Incoming messages is not a problem - they *should* come to uk1
primarily, and only to uk2 or 3 if the previous are unavailable.
For that I have the setup:
IN MX 10 uk1
IN MX 20 uk2
IN MX 30 uk3
It's for outgoing messages so users can either connect to
exchange.mailnetwork.co.uk (which will in effect be a round-robin for
all 3 servers), or directly to uk1, 2 or 3.
I believe mail clients use the A records for SMTP?
Hans den Otter wrote:
>> However, if a machine changes it's IP address, I then have to remember
>> to edit 2 records (and because my zones file's in alphabetical order,
>> they're at opposite ends of the file.)
>> The obvious solution (well obvious to a novice ;) ) would be to do:
>> $ORIGIN mailnetwork.co.uk.
>> exchange IN CNAME uk1
>> exchange IN CNAME uk2
>> exchange IN CNAME uk3
> Why do you not use MX record's for this ?
> $ORIGIN mailnetwork.co.uk.
> exchange IN MX 10 uk1
> exchange IN MX 10 uk2
> exchange IN MX 10 uk3
> Any decent mail tool would use the MX record instead of the A record.
More information about the bind-users