Monthly Archives: July 2014

DDNS failover script

A useful script for automating dynamic DNS updates when you are serving on multiple IP addresses. #!/bin/bash EMAIL=me@mydomain.co.uk HOSTMASTER=hostmaster.mydomain.co.uk KEY=yxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxgQ== SERVER=ns1.mydomain.co.uk ZONE=otherdomain.co.uk DOMAIN=ddns.otherdomain.co.uk IPV4LIST=”10.0.0.1 10.0.0.2″ IPV6LIST=”” TESTPAGE=ddns.asp MAILER=/usr/exim/bin/exim ERRORLIST=”error,unavailable,bad request” failcode=0 function TestHostForURL () {         # Parameters         # … Continue reading

Posted in Uncategorized | Comments Off on DDNS failover script