PmWiki


DNS /

BIND-Date

Patching BIND to give 'correct' dates in logfiles.

For some unknown reason, when BIND changed from v8 to v9, the logfile format changed. Not a major change, but a very significant one, if you keep the logfile for any length of time for later analysis - it removed the YEAR from the date string...

To 'repair' this behaviour, you can do the following:

To the SOURCE CODE, edit lib/isc/unix/time.c and look for isc_time_formattimestamp(). The format I personally use is \%d-\%b-\%Y \%X

History - Print - Recent Changes - Search - Page last modified on 2008, October 01 @ 15:53:03
guestbook