thoroughfare
Verified User
- Joined
- Aug 11, 2003
- Messages
- 540
Hi,
I have a reseller account with my hosting company, and I have accounts spread across two servers.
I want to be able to add some kind of redundancy for emails to my customers, so that if their server goes down, the emails are sent to a secondary MX record and stored until the server is backup.
To do this, I would need some nameservers that aren't on the primary server, otherwise when the server went down, so would the nameservers.
I wondered if it is possible to put all my accounts on one server, and use the BIND service on that primary server as my first nameserver (ns1), and then setup my account on the second server so that it was only used as a slave nameserver. Is this possible?
I was then going to add extra MX records to the DNS settings for all my domains, which would point to a third DA server, with my accounts setup only so that they can handle emails. I figured I could run some kind of Cron job on the mail server that checks to see if any email has arrived (therefore the primary server is down) and then ping the main server every 30 mins or so, until it comes backup, and then I'd get the mail server to send all the emails over to the primary server.
Is this possible? I'm quite competent in PHP and Perl, for any syncing/API interaction required.
Any help gratefully appreciated,
Matt
I have a reseller account with my hosting company, and I have accounts spread across two servers.
I want to be able to add some kind of redundancy for emails to my customers, so that if their server goes down, the emails are sent to a secondary MX record and stored until the server is backup.
To do this, I would need some nameservers that aren't on the primary server, otherwise when the server went down, so would the nameservers.
I wondered if it is possible to put all my accounts on one server, and use the BIND service on that primary server as my first nameserver (ns1), and then setup my account on the second server so that it was only used as a slave nameserver. Is this possible?
I was then going to add extra MX records to the DNS settings for all my domains, which would point to a third DA server, with my accounts setup only so that they can handle emails. I figured I could run some kind of Cron job on the mail server that checks to see if any email has arrived (therefore the primary server is down) and then ping the main server every 30 mins or so, until it comes backup, and then I'd get the mail server to send all the emails over to the primary server.
Is this possible? I'm quite competent in PHP and Perl, for any syncing/API interaction required.
Any help gratefully appreciated,
Matt
