In my experience - the Journal is removed with a Freeze + Thaw and the zone is updated - to what seems like reasonable contents.
This is with respect to a zone used for dynamic updates - and where the slave is on the same network... so there are no outstanding IXFR's - which might otherwise keep the .jnl file around. I guess thats my specuation, observed from (limited?) real(-ish) world experience and I should have said "may consolidate" rather than "will consolidate". On Tue, 2008-10-07 at 09:23 -0700, Jack Tavares wrote: > Are you speculating or do you know when you say: > [quote] > An "rndc <domain> freeze" will consolidate the zone and remove the .jnl > file, > [endquote] > > > ________________________________ > > From: [EMAIL PROTECTED] on behalf of Mark Elkins > Sent: Tue 10/7/2008 12:03 PM > To: bind-users > Subject: Re: will named delete .jnl files ? > > > > An "rndc <domain> freeze" will consolidate the zone and remove the .jnl > file, which should probably be followed rapidly with a "rndc <domain> > thaw" command... > > Even when the .jnl file is huge - I think that BIND writes out its > concept of the zone from its memory - as a freeze runs very quickly. > > I guess the .jnl file is used to replay events to a "named" process that > is restarted?? > > Would be nice if named did a freeze/thaw cycle on being terminated??? > > On Tue, 2008-10-07 at 17:00 +0800, Li Tongxi wrote: > > Seems NO. Also, in my test, when the updates come in, I can see a lot of tmp > > file and one .jnl file. And I didn't see the changes preserved in my zone > > file. But the DNS works fine and the resolved IP is the updated one not the > > one in zone file. Do we need do some config to make the update preserved in > > the zone file? I'm using BIND9.3. > > 2008/10/7 Jack Tavares <[EMAIL PROTECTED]> > > > > > I know how named uses the journal files and how data from those > > > will eventually get written to the zone files. > > > > > > My question is: > > > > > > will named ever delete the .jnl files? > > > For instance: > > > > > > updates come in, get stored in .jnl file. > > > <some time later> those changes are preserved in the zone file. > > > does named then delete the .jnl file? > > > > > > My empirical evidence leads me to believe that the answer is "no" > > > but I certainly haven't tested every possibility. > > > > > > Thanks > > > > > > -- > > > Jack Tavares > > > AIM: jackatavares > > > SKYPE: jackandkaddee > > > Reminder: I am at GMT+2, 10 hours AHEAD of Seattle. > > > My workweek is Sunday-Thursday. > > > Email sent to me Thursday afternoon (PST) may not be viewed until Sunday > > > morning (GMT+2). > > > > > > > > > > > > > -- > . . ___. .__ Posix Systems - Sth Africa. e.164 VOIP ready > /| /| / /__ [EMAIL PROTECTED] - Mark J Elkins, Cisco CCIE > / |/ |ARK \_/ /__ LKINS Tel: +27 12 807 0590 Cell: +27 82 601 0496 > > > > -- . . ___. .__ Posix Systems - Sth Africa. e.164 VOIP ready /| /| / /__ [EMAIL PROTECTED] - Mark J Elkins, Cisco CCIE / |/ |ARK \_/ /__ LKINS Tel: +27 12 807 0590 Cell: +27 82 601 0496
