Re: dynamic update to SOA records

2012-05-03 Thread Mark Andrews
In message , cloud cache writes : > But, how will I know the current serial number of the zone, if the zone > has been changing frequently? > Thank you. You ask the master for the current SOA, add a small number to the serial then send, then check the result by requerying the master. Look at

Re: dynamic update to SOA records

2012-05-03 Thread cloud cache
But, how will I know the current serial number of the zone, if the zone has been changing frequently? Thank you. On Tue, 01 May 2012 09:42:40 +0100, Phil Mayers wrote: On 04/27/2012 02:37 AM, cloud cache wrote: Hello, How to use nsupdate to dynamic update the SOA records? For example, I

Re: dynamic update to SOA records

2012-05-01 Thread Tony Finch
Chris Thompson wrote: > Our regular DNS changes (via [scripted] nsupdate) always add the SOA > explicitly (it's going to change anyway, after all), setting the serial > to the Unix time(2) value. BIND may have been incrementing the serial > itself as a result of re-signing activity, but we assume

Re: dynamic update to SOA records

2012-05-01 Thread michoski
On 5/1/12 8:10 AM, "Anand Buddhdev" wrote: > On 01/05/2012 16:36, Chris Thompson wrote: > >> Our regular DNS changes (via [scripted] nsupdate) always add the SOA >> explicitly (it's going to change anyway, after all), setting the serial >> to the Unix time(2) value. BIND may have been incrementin

Re: dynamic update to SOA records

2012-05-01 Thread Anand Buddhdev
On 01/05/2012 16:36, Chris Thompson wrote: > Our regular DNS changes (via [scripted] nsupdate) always add the SOA > explicitly (it's going to change anyway, after all), setting the serial > to the Unix time(2) value. BIND may have been incrementing the serial > itself as a result of re-signing act

Re: dynamic update to SOA records

2012-05-01 Thread Chris Thompson
On May 1 2012, Phil Mayers wrote: On 01/05/12 11:20, cloud cache wrote: But, how will I know the current serial number of the zone, if the zone has been changing frequently? In the past, I've used a script that queries the SOA just before doing the update (which is safe, because in a race c

Re: dynamic update to SOA records

2012-05-01 Thread Phil Mayers
On 01/05/12 11:20, cloud cache wrote: But, how will I know the current serial number of the zone, if the zone has been changing frequently? In the past, I've used a script that queries the SOA just before doing the update (which is safe, because in a race condition you'll be "too low" and fa

Re: dynamic update to SOA records

2012-05-01 Thread Phil Mayers
On 04/27/2012 02:37 AM, cloud cache wrote: Hello, How to use nsupdate to dynamic update the SOA records? For example, I want to update the zone's contact email and main NS As others have pointed out, you just need to use "nsupdate" and send a valid SOA. NOTE: "valid" means "must have a seri

Re: dynamic update to SOA records

2012-04-30 Thread Tony Finch
cloud cache wrote: > > How to use nsupdate to dynamic update the SOA records? > For example, I want to update the zone's contact email and main NS server > name. Like this: $ dig +noall +answer soa fanf2.ucam.org fanf2.ucam.org. 3600IN SOA black.dotat.at. dot.dotat.at. 40 3

Re: dynamic update to SOA records

2012-04-30 Thread Mark Andrews
In message <2a078dfa10a22fe23c0ad67b92b58...@mail.mxes.net>, cloud cache writes: > Hello, > > How to use nsupdate to dynamic update the SOA records? > For example, I want to update the zone's contact email and main NS > server name. > > Thanks. update add zone ttl SOA . send Just mak

dynamic update to SOA records

2012-04-30 Thread cloud cache
Hello, How to use nsupdate to dynamic update the SOA records? For example, I want to update the zone's contact email and main NS server name. Thanks. ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list b