[Pdns-users] Strange time drift in log

Nikolaos Milas nmilas at admin.noa.gr
Fri Sep 3 06:18:04 UTC 2010


  Hi,

I'm running PDNS 2.9.22 and Recursor 3.1.5 (as packaged for CentOS 5) on 
CentOS 5.5.

In log, I always notice many (actually most) log entries with -3 hours 
(exactly) timestamp (I have changed the IP addresses):

Sep  3 08:49:56 vdns pdns[17892]: Scheduling exit on remote request
Sep  3 08:49:57 vdns pdns[17892]: Guardian is killed, taking down 
children with us
Sep  3 08:50:00 vdns pdns[15791]: Listening on controlsocket in 
'/var/run/pdns.controlsocket'
Sep  3 08:50:00 vdns pdns[15793]: Guardian is launching an instance
Sep  3 08:50:00 vdns pdns[15793]: Reading random entropy from '/dev/urandom'
Sep  3 08:50:00 vdns pdns[15793]: This is a guarded instance of pdns
Sep  3 08:50:00 vdns pdns[15793]: UDP server bound to 192.168.1.2:53
Sep  3 08:50:00 vdns pdns[15793]: TCP server bound to 192.168.1.2:53
Sep  3 08:50:00 vdns pdns[15793]: PowerDNS 2.9.22 (C) 2001-2009 
PowerDNS.COM BV (Aug 23 2009, 10:49:35, gcc 4.1.2 20080704 (Red Hat 
4.1.2-44)) starting up
Sep  3 08:50:00 vdns pdns[15793]: PowerDNS comes with ABSOLUTELY NO 
WARRANTY. This is free software, and you are welcome to redistribute it 
according to the terms of the GPL version 2.
Sep  3 08:50:00 vdns pdns[15793]: DNS Proxy launched, local port 27464, 
remote 10.10.10.10:53
Sep  3 08:50:00 vdns pdns[15793]: Creating backend connection for TCP
Sep  3 05:50:00 vdns pdns[15793]: [LdapBackend] Ldap connection succeeded
Sep  3 05:50:00 vdns pdns[15793]: About to create 3 backend threads for UDP
Sep  3 05:50:00 vdns pdns[15793]: [LdapBackend] Ldap connection succeeded
Sep  3 05:50:00 vdns last message repeated 2 times
Sep  3 05:50:00 vdns pdns[15793]: Done launching threads, ready to 
distribute questions
...

System time:
     # date
     Fri Sep  3 08:50:51 EEST 2010

So, some of the entries in the log have correct local time, but others 
(most of them) are seemingly using the GMT time (which is local summer 
time -3h).

In pdns.conf:
     logging-facility=5
     loglevel=5

In syslog.conf:
     # PowerDNS log
     local5.*                                                
/var/log/pdns.log

Can you please advise on this?

Thanks,
N. Milas




More information about the Pdns-users mailing list