Title: [Way OT] DNS MX load balancing questions...
Hi Michael
 
Thanks for the quick reply.
 

RFC 2821 requires a mail server to choose MX records randomly when the records are the same priority, but to try all if the initial one chosen doesn’t work (until it finds one that does work or the pool is exhausted).

 

The above means it will try MX of other priorities right (not the other of the same priorities correct?) - sorry just not having a clear word by word answer in the RFC document itself.

 

One of my vendor is giving me a whitepaper from barracuda appliance that explains how its done, but mentioned that with MX listing below it will provides load balancing AND redundancy (crap to me but now im getting confused myself)

http://www.barracudanetworks.com/ns/downloads/Barracuda_WP_MX_Load_Balancing.pdf

 

Is it recommended that the TTL for the domain be set to 0 when using this MX load balancing method?


Thank you and have a splendid day!

Kind Regards,

Freddy Hartono
Group Support Engineer
InternationalSOS Pte Ltd
mail: [EMAIL PROTECTED]
phone: (+65) 6330-9785

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael B. Smith
Sent: Friday, December 09, 2005 8:52 PM
To: [email protected]
Subject: RE: [ActiveDir] [Way OT] DNS MX load balancing questions...

You should have two separate MX records

 

@         IN         MX        10         mail1.mydomain.com.

@         IN         MX        10         mail2.mydomain.com.

 

Mail1    IN         A          10.1.1.1

Mail2    IN         A          10.2.2.2

 

RFC 2821 requires a mail server to choose MX records randomly when the records are the same priority, but to try all if the initial one chosen doesn’t work (until it finds one that does work or the pool is exhausted).

 

Your proposal below has the problem you describe.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Freddy HARTONO
Sent: Friday, December 09, 2005 7:43 AM
To: [email protected]
Subject: [ActiveDir] [Way OT] DNS MX load balancing questions...

 

Hi All

Was just trying to understand something and am getting conflicting results..

If I set the following (or 2 mx of the same priority with 2 differnet a records)

Mydomain.com            MX      10      mail.mydomain.com
Mail.mydomain.com       A               10.1.1.1
Mail.mydomain.com       A               10.2.2.2

I understand that will provide dns roundrobin but what happened if I shutdown 10.2.2.2, will I lose (logically) 50% of my mail as I do not have another fallback MX??

My understanding is that it does so as the sender mail server will cache the MX record and A record and will only send to there, am I right or am I getting this wrong?

If I'm shutting down 10.2.2.2, will the sender mail server retries to 10.1.1.1? (lets assume there's no ttl reconfig to zero)

Thanks lots

 

Thank you and have a splendid day!

Kind Regards,

Freddy Hartono
Group Support Engineer
InternationalSOS Pte Ltd
mail: [EMAIL PROTECTED]
phone: (+65) 6330-9785

Reply via email to