Recent Changes - Search:

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

Edit - History - Print - Recent Changes - Search
Page last modified on October 01, 2008, at 02:53 PM