Maintained by: NLnet Labs

[Unbound-users] unbound as local resolver on systems without reliable date/time

Floris Bos
Sun Aug 10 14:33:16 CEST 2014


Hi,

I was wondering what the recommended way is to run unbound as a local 
resolver on systems where the date and time may not be correct on startup.
E.g. on an embedded device like the Raspberry Pi that has no RTC.

Should a startup script be used that:

1) start unbound first with a configuration file that has 
"val-override-date: -1" set
2) attempt to query and set time with ntpdate
3) if time was set successfully, kill unbound, restart with normal 
configuration file.

Or is there a cleaner way?


Yours sincerely,

Floris Bos