Remove/add [A] records based upon server availability
aclegg at isc.org
Sat Dec 26 21:07:46 UTC 2009
Ryan S wrote:
> Is there a method in BIND to add/remove A records based upon server
> host www has A records 188.8.131.52, 184.108.40.206, 220.127.116.11 If 18.104.22.168 is 'down'
> (via a ping test, for example) we remove it from the [A] record until
> such time that it is back 'up' and the host is added back to the A records.
> Does this exist in BIND or has anyone developed such a script? I would
> like to do this. please help!! thanks.
Quite an easy thing to do with dynamic DNS. Check the result from
"ping" (or something similar) and update DNS as appropriate.
I don't have a script to do it, but I'm sure that some simple shell
scripting would do what you want...
More information about the bind-users