Initial import of dns-failover.sh