Quote:
Originally posted by minor
MX record
I set the MX record like this,
domain.com IN MX 10 mail01.domain.com
IN MX 20 mail02.domain.com
|
I'd expect the above to look more like
Code:
domain.com. IN MX 10 mail01.domain.com.
domain.com. IN MX 20 mail02.domain.com.
note the trailing full stops if you are going to use the full machine name. If you forget this then Bind will append your domain again so you'll end up with MX records that point to places like mail02.domain.com.domain.com which tend to not work as you want!
Quote:
Originally posted by minor
And if right, what's the reply IP when I ping domain.com if the mail01.domain.com is down? Is it reply the mail01.domain.com IP or mail02.domain.com IP? Thanks!
|
You can't just ping domain.com - its a domain, hence doesn't really exist! If you were to lookup the MX records then you would get both machines returned, and it you were to ping them only the one what was up would respond (clearly!), redundant mail relays won't automatically switch your IP addresses around for you etc, when one server fails. The normal thing that happens is that mail01 would be used as the mail relay, if this fails to respone to an incomming SMTP transfer then mail02 would be used. Mail02 will queue the mail until mail01 comes back up, at which time all mail will be delievered back to mail01 from mail02 and become available for your users.
HTH
Jamie...