3 ms·
> manually syncing the clock via ntp usually gets my dns working again. Why is this necessary?
by westurner 6y ago
> manually syncing the clock via ntp usually gets my dns working again.
Why is this necessary?
- rektide 6y agonormally systemd-timedated does a good job keeping things in sync! but some of my systems seem to have not great real-time clock batteries, and the system will forget the time. i think there might be some other circumstance that sometimes causes my system clock to be way out of whack, but i'm not sure what. so that's why my clock doesn't work and needs sync. the dnssec internet protocols are designed to guarantee the user that they have up to date, accurate, trustable records. this depends on your system knowing what time it is now. if your system is way ahead or way behind the actual time, the dnssec records it gets dont appear as valid. And systemd-resolved will reject them, if it is set up to respect DNSSEC.
- westurner 6y agoSystemd-timedated: https://www.freedesktop.org/software/systemd/man/systemd-timedated.service.html https://www.freedesktop.org/software/systemd/man/systemd-tim... timedatectl set-ntp false && \ timedatectl set-ntp true Src: https://github.com/systemd/systemd/blob/main/src/timedate/timedated.c https://github.com/systemd/systemd/blob/main/src/timedate/ti...