driverdave
11-20-2001, 03:52 AM
Everything I've read about this makes it look very easy, yet it doesn't want to work for me at all.
I have to raq4s on different IP's and networks. They are both running as nameservers and are listed as such for myexample.com
My main web/email server is called ns1.fake.com and my backup is called ns2.fake.com. Here is my DNS setup on ns1, which has IP of 111.111.111.111
A record myexample.com > 111.111.111.111
A record www.myexample.com > 111.111.111.111
MX record priority 20 myexample.com > www.myexample.com
Everything works fine with this. Now what I'd like to do is set up ns2 to hold the email for myexample.com, in case ns1 in unreachable.
So from what I've read at sendmail.org, I should do the following and ns2 will just hold my email till ns1 is available. It says all I have to do is allow relaying for whatever domains I am providing backup email holding for. So I try this on ns2
A record myexample.com > 111.111.111.111
A record www.myexample.com > 111.111.111.111
MX record priority 20 myexample.com > www.myexample.com
MX record priority 50 myexample.com > ns2.fake.com
Which works fine when ns1 is up and accepting email. But when I shut down sendmail on ns1, I get bounced email with the mail loop back to me? config error. I'm allowing relay for myexample.com on ns2.
Has anyone got this working, having one raq que up another's emails if it's down, then forward them when it goes back up?
I've seriously tried too many permutations of the above setup to list, I'm sure I just missed something simple.
I have to raq4s on different IP's and networks. They are both running as nameservers and are listed as such for myexample.com
My main web/email server is called ns1.fake.com and my backup is called ns2.fake.com. Here is my DNS setup on ns1, which has IP of 111.111.111.111
A record myexample.com > 111.111.111.111
A record www.myexample.com > 111.111.111.111
MX record priority 20 myexample.com > www.myexample.com
Everything works fine with this. Now what I'd like to do is set up ns2 to hold the email for myexample.com, in case ns1 in unreachable.
So from what I've read at sendmail.org, I should do the following and ns2 will just hold my email till ns1 is available. It says all I have to do is allow relaying for whatever domains I am providing backup email holding for. So I try this on ns2
A record myexample.com > 111.111.111.111
A record www.myexample.com > 111.111.111.111
MX record priority 20 myexample.com > www.myexample.com
MX record priority 50 myexample.com > ns2.fake.com
Which works fine when ns1 is up and accepting email. But when I shut down sendmail on ns1, I get bounced email with the mail loop back to me? config error. I'm allowing relay for myexample.com on ns2.
Has anyone got this working, having one raq que up another's emails if it's down, then forward them when it goes back up?
I've seriously tried too many permutations of the above setup to list, I'm sure I just missed something simple.
