script - automatic change A record
Alan Clegg
alan at clegg.com
Mon Nov 25 14:00:09 UTC 2013
On Nov 25, 2013, at 7:55 AM, Paweł Ch. <pch0317 at gmail.com> wrote:
> 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.
make the zone dynamic, read man page on nsupdate.
AlanC
--
Alan Clegg | +1-919-355-8851 | alan at clegg.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20131125/a62eff68/attachment.bin>
More information about the bind-users
mailing list