script - automatic change A record

Paweł Ch. pch0317 at gmail.com
Mon Nov 25 12:55:53 UTC 2013


Hi list,

I would like to write script that change two entry in my zone file: SOA and
A record.

I have 2 web site: mail site site1.tld and backup site site2.tld. Script
should monitor site1.tld and when site is unavailable it should change A
record in zone file to indicate to site2.tld. If site1.tld is available
again then A record should indicate to it.
Script should change SOA serial number.

Please help with writing a script.

pch0317
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20131125/c47cc18c/attachment.html>


More information about the bind-users mailing list