- Dec 6, 2001
- 8,361
- 1
- 0
I need a script that'll check the health of a website located in "Location A". By either ping or a higher level by pulling up a text file containing certain text. If these conditions are met, the website is considered healthy. If it's not healthy, check a known website to ensure internet connectivity is up. If so, update dns zone file to point website to another ip address in "location B". Else it thinks the problem is itself and does nothing.
This is a simple plan for DNS failover I've come up, but I'm not a good shell script writer. Someone help me out.
I'll be doing the health checks from DNS servers running redhat 9 in "Location C".
Thanks!
-FP
This is a simple plan for DNS failover I've come up, but I'm not a good shell script writer. Someone help me out.
I'll be doing the health checks from DNS servers running redhat 9 in "Location C".
Thanks!
-FP