Remove/add [A] records based upon server availability
Alan Clegg
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
> availability?
> i.e.
> host www has A records 1.1.1.1, 2.2.2.2, 3.3.3.3 If 3.3.3.3 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...
AlanC
More information about the bind-users
mailing list