mail us  |  mail this page

products  |  company  |  support  |  downloads  |  isp services  |  contact us

HOWTO - Configure Mail Servers fail-over

This HOWTO configures a DNS server to provide a 'kinda' fail-over service when the primary mail service is off-line.

Define MX records with different priorities e.g.

; zone file fragment
      IN  MX  10 mail.example.com.
      IN  MX  20 mail.example.net.
....
mail  IN  A      192.168.0.4

If the most preferred mail server (mail.example.com) is down, mail should be sent to the alternate server (mail.example.net). The server mail.example.net, which in the fragment above is external to the domain and ideally at a separate geographic location, would typically configured as a simple relay (or forwarder) with a very long retry time in which case it will accept the mail and try and relay it to the proper destination (mail.mydomain.com) over the next six weeks or whatever you configure the retry time to be.

Beware: There are a number of articles around the web which suggest that most mail systems do a poor job of using the 'preference system of the MX record.



Problems, comments, suggestions, corrections (including broken links) or something to add? Please take the time from a busy life to 'mail us' (at top of screen), the webmaster (below) or info-support at zytrax. You will have a warm inner glow for the rest of the day.

Pro DNS and BIND by Ron Aitchison

Contents

tech info
guides home
intro
contents
1 objectives
big picture
2 concepts
3 reverse map
4 dns types
quickstart
5 install bind
6 samples
reference
7 named.conf
8 dns records
operations
9 howtos
10 tools
11 trouble
programming
12 bind api's
security
13 dns security
bits & bytes
15 messages
resources
notes & tips
registration FAQ
dns resources
dns rfc's
change log

Creative Commons License
This work is licensed under a Creative Commons License.

If you are happy it's OK - but your browser is giving a less than optimal experience on our site. You could, at no charge, upgrade to a W3C STANDARDS COMPLIANT browser such as Mozilla

web zytrax.com



Resources

Systems

FreeBSD
NetBSD
OpenBSD
DragonFlyBSD
Linux

Applications

OpenOffice
Mozilla
SourceForge
GNU-Free SW Foundation

Organisations

Open Source Initiative
Creative Commons

Misc.

Ibiblio - Library
Open Book Project
Open Directory
Wikipedia

printer friendly

Print Page

SPF Record Conformant Domain Logo

Copyright © 1994 - 2008 ZyTrax, Inc.
All rights reserved. Legal and Privacy
site by zytrax
Hosted by super.net.sg
web-master at zytrax
Page modified: June 21 2007.