MX Record setup with failover isp

zystemsgo
zystemsgo used Ask the Experts™
on
We currently have two isp providers and have a sonicwall 3060 with failover setup.   We also host our website at dreamhost.com and forward the mx record to an internal email server.  I would like to setup failover mx record.   What I mean is when the primary isp goes down, it would then send it to the secondary isp mx record.  I asked dreamhost.com and they said they cannot do have the capability to do that.  

How could I get this accomplished?  Any advice would be greatful.

Thanks
-Dimitry  
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Author

Commented:
I meant to say "We currently have two isp providers and have a sonicwall 3060 with failover setup."

Thanks
-Dimitry
Hello,

I'm not sure why they would tell you it isn't possible. All you need are two MX entries. Your primary line would have a weight of 10 and your backup would have a weight of 20. If you primary goes down, senders will start using the secondary MX.

JJ

Author

Commented:
I guess I am not sure how to set it up in dreamhost.

I have an A record for mail pointing to primary isp ip

Record = mail, type = A, Value = primary isp ip

I also have a MX record pointing to 10 mail.zystemsgo.com

Would I create another A record for mail pointing to secondary isp ip

Record = mail, type = A, Value = secondary isp ip

because the mx record would be the same since it is the same email server just going through a different isp (ip).

Thanks
-Dimitry

Success in ‘20 With a Profitable Pricing Strategy

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Here is what you should do.

In your DNS zone, you would have two A records
mail.zystemsgo.com that maps to the external IP of your mail server on ISP A
mail2.zystemsgo.com that maps to the external IP of your mail server on ISP B

You would also have two MX records
10 mail.zystemsgo.com
20 mail2.zystemsgo.com

You should also have a PTR record created for each A record on the respective ISP's DNS servers. You would need to contact each ISP for this.

JJ
Take a look here www.dnsmadeeasy.com, please. I am sure will find what you need there.

I am using it currently without any issues.

good luck

Suliman

Author

Commented:
Suliman,
Thanks for info.  I just signed up with them.  

Thanks
-Dimitry

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial