<div dir="ltr"><div class="gmail_extra"><br><br><div class="gmail_quote">On 3 June 2014 17:21, David Colon <span dir="ltr"><<a href="mailto:dcolon@dcolon.org" target="_blank">dcolon@dcolon.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">The simple solution is to turn the TTL of the A and MX records down to a low value like 60. When you are ready to cut over, set an MX 0 record pointing to the new email server. I wouldn't bother having a second MX record pointing to the old server unless you want to use it in the event the primary is down or unreachable.<div>
<br></div><div>David</div><div><a href="http://tech.dcolon.org" target="_blank">http://tech.dcolon.org</a></div><div><br></div><div><br></div></div><div class=""><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Jun 3, 2014 at 11:06 AM, James Roberts <span dir="ltr"><<a href="mailto:j.roberts@stabilys.com" target="_blank">j.roberts@stabilys.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I am really flaky/stale on DNS and so would much appreciate some advice before I shoot myself in the foot - if anyone has a mo.<br>
<br>
I have a client with multiple *DSL/Cable connections for connection reliability, none of the connections being very reliable because of their location.<br>
<br>
Their web is hosted by an Asian developer co on Hertzner, mail is self-hosted on a single Linux server running qmail mailfront etc.<br>
<br>
The have a single A record, and MX, and a PTR at the DSL ISP. This works - but I want to retire that ISP.<br>
<br>
Their current mail arrangement uses one ADSL connection which we intend to retire as they now have a fast (30Mbps+) cable connection, which I intend to use as the primary connection.<br>
<br>
*I want to do two things*:<br>
<br>
1 Move the email to the other ADSL connection they have as a first step<br>
<br>
2 After a day or two of stable working set up the (tested working) cable connection<br>
<br>
3 After a suitable settling period enable email in over both the connections.<br>
<br>
I have thought of various ways of doing this wrong, and I hope two ways of doing it right.<br>
<br>
The current entry can be thought of as:<br>
*<br>
<a href="http://theclient.co.uk" target="_blank">theclient.co.uk</a> MX (Mail Exchanger) Priority: 10 <a href="http://mail.theclient.co.uk" target="_blank">mail.theclient.co.uk</a><br>
<a href="http://mail.theclient.co.uk" target="_blank">mail.theclient.co.uk</a> A (Address) (say) ISP 0 000.000.000.000<br>
*<br>
<br>
The secondary existing service is on (say) ISP1 111.111.111.111<br>
The new cable service is (say) ISP2 222.222.222.222<br>
<br>
The transitional step would add a record as follows:<br>
<br>
*<br>
<a href="http://theclient.co.uk" target="_blank">theclient.co.uk</a> MX (Mail Exchanger) Priority: 10 <a href="http://mail.theclient.co.uk" target="_blank">mail.theclient.co.uk</a><br>
<a href="http://mail.theclient.co.uk" target="_blank">mail.theclient.co.uk</a> A (Address) 000.000.000.000<br>
<a href="http://mail.theclient.co.uk" target="_blank">mail.theclient.co.uk</a> A (Address) 111.111.111.111<br>
*<br>
<br>
Q1: But is it OK to have a PTR from each ISP back to the same A record?<br>
<br>
<br>
Q2: However, if I want to make email reception failover work over both the ADSL (111...) and the cable (222...), which of these would be best? I think they achieve the same effect, but the B method allows me more control?<br>
<br>
Method A<br>
<br>
<br>
<a href="http://mail.theclient.co.uk" target="_blank">mail.theclient.co.uk</a> A (Address) 222.222.222.222<br>
<a href="http://mail.theclient.co.uk" target="_blank">mail.theclient.co.uk</a> A (Address) 111.111.111.111<br>
<br>
<a href="http://theclient.co.uk" target="_blank">theclient.co.uk</a> MX (Mail Exchanger) Priority: 10 <a href="http://mail.theclient.co.uk" target="_blank">mail.theclient.co.uk</a><br>
<br>
Method B<br>
<a href="http://mail.theclient.co.uk" target="_blank">mail.theclient.co.uk</a> A (Address) 111.111.111.111<br>
<a href="http://mail2.theclient.co.uk" target="_blank">mail2.theclient.co.uk</a> A (Address) 222.222.222.222<br>
<br>
<a href="http://theclient.co.uk" target="_blank">theclient.co.uk</a> MX (Mail Exchanger) Priority: 5 <a href="http://mail2.theclient.co.uk" target="_blank">mail2.theclient.co.uk</a><br>
<a href="http://theclient.co.uk" target="_blank">theclient.co.uk</a> MX (Mail Exchanger) Priority: 10 <a href="http://mail.theclient.co.uk" target="_blank">mail.theclient.co.uk</a><br>
<br>
Any comments from the DNS-literate would be appreciated... and don't hesitate to be rude if necessary :)<br>
<br>
MeJ<br>
<br>
______________________________<u></u>_________________<br>
GLLUG mailing list<br>
<a href="mailto:GLLUG@mailman.lug.org.uk" target="_blank">GLLUG@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/gllug" target="_blank">https://mailman.lug.org.uk/<u></u>mailman/listinfo/gllug</a><br>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
GLLUG mailing list<br>
<a href="mailto:GLLUG@mailman.lug.org.uk">GLLUG@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/gllug" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/gllug</a><br>
<br></blockquote></div><br>PTR records should point to an A record that points back to the IP
otherwise you will upset all kinds of security checks (SSH, paranoid
email servers etc.). If you have multiple IPs then that will be
multiple PTRs and therefore multiple A records.</div></div>