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

Floris Bos bos at je-eigen-domein.nl
Sun Aug 10 12:33:16 UTC 2014


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

More information about the Unbound-users mailing list