How to force named to write dynamic data
Mark.Andrews at nominum.com
Mark.Andrews at nominum.com
Sat Jan 13 12:20:28 UTC 2001
>
> I guess a concern, a priori, would be if the server crashed and the
> zone files were not updated.
> In fact, this seems to be a problem, at least with 8.2.2-p7 & 8.2.3-T9B.
> If some dynamic updates are made, they are indeed in memory.
> If I then 'kill -9' on the named process within a couple of minutes of
> restarting, then any dynamic data in those couple of minutes are lost
> forever.
If this is the case then stdio is broken on your system.
Updates are written to log files and flushed to disk prior to
returning success to the client. The log files are used to
recover state when restarting.
>
> It would seem that 'named' needs a way to save the dynamic updates to
> files and when reloading, if the files are still there, merge those
> changes back in, similar to what it does on a termination.
It does do that.
> Would the IXFR files work?
BIND 9 uses the equivalent of the IXFR files. BIND 8 uses the
log files which contain the actual update. The IXFR files
contain the effects of the update.
Mark
>
>
> -------------------------------------------------
> Tks | <mailto:BVance at sbm.com>
> BV | <mailto:BobVance at alumni.caltech.edu>
> Sr. Technical Consultant, SBM, A Gates/Arrow Co.
> Vox 770-623-3430 11455 Lakefield Dr.
> Fax 770-623-3429 Duluth, GA 30097-1511
> =================================================
>
>
>
>
>
> -----Original Message-----
> From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org]On
> Behalf Of Kevin Darcy
> Sent: Friday, January 12, 2001 7:09 PM
> To: bind-users at isc.org
> Subject: Re: How to force named to write dynamic data
>
>
>
> Why do you care? Dynamic Updates take effect immediately in named's
> memory
> regardless of when the zone gets dumped to disk.
>
>
> - Kevin
>
> gopu at hybrid.com wrote:
>
> > Hi,
> > I have Bind 8.2.2-P7 doing dynamic updates. The dynamically updated
> records
> > gets added to the files only if I send SIGTERM signal to named.
> >
> > Is there any way I can force named to write the dynamic update to the
> files
> > without stopping the server. Also any other way to write it at
> periodic
> > intervals?
>
>
>
>
>
>
>
>
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at nominum.com
More information about the bind-users
mailing list