use same server with multiple mx records over multiple connections

Posted on 2005-05-03
Last Modified: 2010-04-10

I have two internet lines from two different ISPs.

I use the first one all the time, and secound one is for backup in times that first one is not working.

I have an email server on my network. [Microsoft Exchange]

Is it possible to set two MX records on my DNS. [DNS server is hosted else were] with different priorities. so if first internet connection fails, emails go to second connection?

does this create a loop?

Question by:Nav444
    LVL 4

    Accepted Solution

    Sure! actually,  That's what you should do!  Just add a second MX and give it a higher weight.  When an outside resolver fails to find the first MX (lowest weight) it we then try the second.  You can have as many as you like.  I have about 8!

    LVL 4

    Expert Comment

    P.S. you can load balance by giving them the same weight...
    LVL 4

    Expert Comment

    Question: when your first internet connection fails, are you implying that the ip range/email server on that network is unavilable?   you may want to get an AS number and use BGP to advertise out your network. That way, all of your servers/ip ranges are avilable no matter which connection is up.

    LVL 16

    Expert Comment

    Don't forget, however, to have a *third* MX pointing at an ISP mail server, so your mail still works even if your *server* rather than your 'net connection is unavailable for any reason. Unless you also have your own secondary server. Even then, it's best to have an off-site off-net MX available for your domain.
    LVL 4

    Expert Comment

    Yes... if you have an ISP mail server.  All of ours is "In House".  Some people will setup a freeware mail system like "sendmail" and put it at peering site.  Unfortunatly that would violate our SarBox requirments.  :(

    I hope some of this helps Nav444. Let us know!


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
    Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now