Hey so I dont think anything exists for this right now.. but i wanted to see
I have a setup 2 servers as DNS ONLY servers only and they forwards to another server with the actual site on them. I then copied the exact setup on the other side of the country. I setup mysql/rsync replication for the sites so its synced.. I am now trying to figure a good way for load balancing..
What I want to do is make two NS1.domain.com and NS2.domain.com and these be windows server 2008 and have 4 NS records in this system with a different metric to fail over but I’m still seeing the problem of “if cloud1.va is down.. ns1.va isn’t and still gets the request thus everything is still down even though tx isn’t..
write a C++ Program that listens on port 53, gets the requested site and looks in a database (MSSQL) to grab the first listed (or round robin) listed site ip and return the dns request with that.. Dynamic.. then we have another that monitors and pings every 10 seconds (or if the server goes down we manually set it in the db) and if 2 fail it marks in db to be down until it gets 4 successful hits to that server..