[nsd-users] About timestamps in logs and zonestatus
Peter Andreev
andreev.peter at gmail.com
Wed Feb 28 05:10:21 UTC 2024
Hi Jeroen,
I just realised that the version I use is very old -- 4.1. So first what I
should do -- updating it and only then come here , asking for clarification.
вт, 27 февр. 2024 г. в 14:19, Jeroen Koekkoek <jeroen at nlnetlabs.nl>:
> Hi Peter,
>
> NSD processes updates in batches. xfrd receives the [AI]XFR and
> schedules a reload for the main process, which in turn forks new serve
> children. The served-serial is updated after main reports success, the
> commit-serial (update written to disk) is updated before the reload (to
> explain the serials).
>
> The difference in timestamp can be explained by the fact that NSD looks
> up if the serial is still the latest after the TTL expires. If it is,
> the time is updated because the zone is renewed.
>
> What's the TTL of the zone? Where there any updates to the zone in the
> meantime?
>
> If the zone is expired in the meantime or the TTL is greater than the
> time printed, we can try increasing verbosity to spot an issue, or I'll
> have to dive into the code.
>
> - Jeroen
>
>
> On Tue, 2024-02-27 at 08:59 +0300, Peter Andreev via nsd-users wrote:
> > Dear All,
> >
> > Please help me understand why timestamps in logs are different from
> > those in nsd-control zonestatus output:
> >
> > served-serial: "2024022603 since 2024-02-27T08:07:51"
> > commit-serial: "2024022603 since 2024-02-27T08:07:51"
> >
> > Feb 26 18:47:34 slave-server nsd[780]: zone testzone.test. received
> > update to serial 2024022603 at 2024-02-26T18:47:33 from 192.168.10.10
> > TSIG verified with key mytsig of 6517 bytes in 3.8e-05 seconds
> > Feb 26 18:47:34 slave-server nsd[777]: zone testzone.test serial
> > 2024022601 is updated to 2024022603.
> >
> >
> > --
> > Is there any problem Exterminatus cannot solve? I have not found one
> > yet.
> >
> > _______________________________________________
> > nsd-users mailing list
> > nsd-users at lists.nlnetlabs.nl
> > https://lists.nlnetlabs.nl/mailman/listinfo/nsd-users
>
>
--
Is there any problem Exterminatus cannot solve? I have not found one yet.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/nsd-users/attachments/20240228/965ef722/attachment.htm>
More information about the nsd-users
mailing list