Link to home
Start Free TrialLog in
Avatar of patrickschuler
patrickschuler

asked on

Fail Over DNS

What is the option if a server fails at one location and you bring it up at another location, is there a way to have a fail over dns record for e-mail? I am guessing that would just simply be a higher number in the MX record, but is there a service or way of setting it up if one MX was not responding it would fail over to the other server?
Avatar of Busbar
Busbar
Flag of Egypt image

you can setup another MX as you said with a higher priority on your DNS server, mail servers will try the first if not it will pickup the second one, this is done automatically.
I think it does that automatically, you just have to add on the primary server the secondary mail server dns record, like you said with higher MX number.
Avatar of Ernie Beek
Just have a second MX record with a higher preference, just like this:

google.com      MX preference = 100, mail exchanger = google.com.s9a1.psmtp.com
google.com      MX preference = 200, mail exchanger = google.com.s9a2.psmtp.com
google.com      MX preference = 300, mail exchanger = google.com.s9b1.psmtp.com
google.com      MX preference = 400, mail exchanger = google.com.s9b2.psmtp.com


First, the lowest preference will be tried (100). If that doesn't respond the second lowest will be tried. If that doesn't respond, etc.
ASKER CERTIFIED SOLUTION
Avatar of Member_2_4694817
Member_2_4694817

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If it's domain environment and you have DCs with DNS installed and your DNS zone is AD integrated then that's no problem. Your DNS server is up and running if one of them would fail, each of your DNS server contain read/write DNS zone(s). Just remember that you have to specify in NIC's properties of each statically configured machine 2 or more DNS servers IP for failover. Also in DHCP server modify option no 006 to provide 2 DNS server to your DHCP clients. That's all

Regards,
Krzysztof
Avatar of PacketExchanger
PacketExchanger

You can use a GEOdns service, and route your mx through a load balance, failover solution, so in case your mail server looses connectivity or services are failing, then the load balancer should have an active failover rule which will change request from going to the bad location, you can also use this to distribute the load evenly for high request.


check www.3crowd.com        they can provide this service for you