In article <[email protected]>, Sten Carlsen <[email protected]> wrote:
> On 25/11/13 15.00, Alan Clegg wrote: > > On Nov 25, 2013, at 7:55 AM, Pawe? Ch. <[email protected]> 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. > If this really is mail only as I read from your mail, SMTP already takes > care to use the backup server, just put correct priority in DNS. You're assuming he's talking about the incoming mail server. He could be talking about the outgoing server and/or POP/IMAP server that users put into their mail client configurations. DNS-based failover is a reasonable approach for these. -- Barry Margolin Arlington, MA _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list [email protected] https://lists.isc.org/mailman/listinfo/bind-users

