Eric
asked on
Public DNS Failover?
Hello, This question has been asked a few times before but there doesnt seem to be a clear answer?
i have the following scenario
We want to provide failover for our domain that serves a simple web page - not round robin or load balance the IPs rather a primary and secondary DNS address.
As in the user types www.bob.com and this tries first IP 1 and if this fails try IP 2
Our DNS is hosted externally not internally.
What would be a solution? Setting a low TTL? a colleague mentioned using a virtual IP
not sure how this would be implemented and where?
i have the following scenario
We want to provide failover for our domain that serves a simple web page - not round robin or load balance the IPs rather a primary and secondary DNS address.
As in the user types www.bob.com and this tries first IP 1 and if this fails try IP 2
Our DNS is hosted externally not internally.
What would be a solution? Setting a low TTL? a colleague mentioned using a virtual IP
not sure how this would be implemented and where?
Round Robin won't provide fail-over. But then DNS in general won't give you that without external help (like the script method Fosiul01 mentions).
In that situation monitoring is about the hardest, you need a number of points to monitor from so you can actually determine whether or not a service is available. It's the kind of thing a number of different companies provide at trivial cost.
Chris
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi, Thanks for the suggestion, it does not get over the issue of having to reset our service, but it works in part. Many thanks.
Web request id dealt by A record
if you have control over your own zone record, then i would of say, use a script if you dont want round robin
what script will do si :
it will check IP(primary), if its live it will not do anything
as soon as it will see primary ip is failed. it will change the zone record and will edit the primary IP and will insert the secondary IP
and yes you need short ttl ( 1 min)
but if you dont have control over your zone record
then you will have to use round robin.