Hi, I have a dynamically allocated IP address with my ADSL provider, I have setup a server with a dynamic DNS. I have setup qmail in this server and my DNS MX records allways point to the dynamic IP addres. It works fine, with no problemas at all.
however, some times it's necesary to take down this server, in order to do some maintenance tasks, or perhaps due to energy problems.
I would like to know, if there is a way to setup another server with static IP and 99.9% uptime, as a backup server for the first one.
I would set MX records for both with preference 10 for the dynamic and preference 20 for the static. (the dyndns engine would only update the 10 MX record and leave the 20 MX record alone with static IP)
I want that in case of a failure in the dynamic server. All mail for that domain, be sent to the static one, AND that when the dynamic goes up, all stored mail in the static be forwarded to the dynamic one, without user intervention.
I DO have way to inform the static server , and run a shell script when the dynamic server goes UP.
Is that possible?...
I DON'T WANT TO SETUP THE STATIC SERVER AS MAIN MTA FOR THE DOMAIN.
Thanks in advance