Re: script - automatic change A record

2013-11-26 Thread Brian Cuttler
Mark, Good point, I'd completely forgotten the value of a shorter TTL record for cases like this. On Tue, Nov 26, 2013 at 09:56:45AM +1100, Mark Andrews wrote: > > In message > > , =?UTF-8?B?UGF3ZcWCIENoLg==?= writes: > > Hi list, > > > > I would like to write script that change two entry in

Re: script - automatic change A record

2013-11-26 Thread Matus UHLAR - fantomas
On 26.11.13 07:10, Kumar, Naveen, Vodafone Group wrote: If your target server has tcp port, you can create SRV record, DNS server will do the healthcheck and failover accordingly. No. SRV will only apply for services that use SRV records. That does not include mail nor DNS services. -- Matus

RE: script - automatic change A record

2013-11-25 Thread Kumar, Naveen, Vodafone Group
-bounces+naveen.kumar32=vodafone@lists.isc.org] On Behalf Of Mark Andrews Sent: Tuesday, November 26, 2013 4:27 AM To: Paweł Ch. Cc: bind-users Subject: Re: script - automatic change A record In message , =?UTF-8?B?UGF3ZcWCIENoLg==?= writes: > Hi list, > > I would like to write sc

Re: script - automatic change A record

2013-11-25 Thread Mark Andrews
In message , =?UTF-8?B?UGF3ZcWCIENoLg==?= writes: > 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

Re: script - automatic change A record

2013-11-25 Thread Barry Margolin
In article , Sten Carlsen wrote: > On 25/11/13 15.00, Alan Clegg wrote: > > On Nov 25, 2013, at 7:55 AM, Pawe? Ch. 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

Re: script - automatic change A record

2013-11-25 Thread Brian Cuttler
I think you want to be using MX records, rather than A records to point to your mailhost systems, those records allow you to specify a priority, the higher priory system (I believe the lower numeric value, but look it up) getting the mail if available, else working through the list of available ma

Re: script - automatic change A record

2013-11-25 Thread Sten Carlsen
On 25/11/13 15.00, Alan Clegg wrote: > On Nov 25, 2013, at 7:55 AM, Pawe? Ch. 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 site

Re: script - automatic change A record

2013-11-25 Thread Alan Clegg
On Nov 25, 2013, at 7:55 AM, Paweł Ch. 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

script - automatic change A record

2013-11-25 Thread Paweł Ch .
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.t