Free DNS software with failover support?
        Posted  
        
            by Lin
        on Server Fault
        
        See other posts from Server Fault
        
            or by Lin
        
        
        
        Published on 2009-08-24T02:16:25Z
        Indexed on 
            2010/06/02
            11:04 UTC
        
        
        Read the original article
        Hit count: 379
        
I'm looking for DNS software that can accomplish the following:
- Check health of all A records at set intervals
 - If server is unresponsive after multiple successive checks, replace A record with a working server
 - When a server is down, check it periodically. Once it's up, restore normal A records
 
Here's an equivalent I thought of:
- Run DNS servers with very low TTL (minutes)
 - Use a cron job to periodically query all webservers
 - Use sed to replace A records if need be, and then restart DNS server
 
I have a hard time believing there isn't already something that can accomplish the above. I'm not looking for a paid service, and I'm restricted to anything I can run with root access to a VPS. Any suggestions would be great. Thanks!
© Server Fault or respective owner