You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
systemd-tImesyncd fails to connect to time server due to failed DNSSEC lookup #15607
ArchArm RaspberryPi4 - ArchLinuxARM-rpi-4-latest.tar.gz
Also seen on the regular arch arm RPi1 and RPi2/3 images. The initial install works, but systemd-resolved installs the standard resolved.conf file which enables DNSSEC. If this image is then used on another RPi, it fails to get the time and all DNSSEC requests fail which stops most networking.
Expected behaviour you didn't see
successful timesyncd on first boot
Unexpected behaviour you saw
systemd-timesyncd did not run successfully to set the time due to local clock being offset too far from current. All DNSSEC requests then fail. Resolved is set as default to DNSSEC=yes. DNSSEC failures directly relate to no timesync and the local clock being offset from real time.
Steps to reproduce the problem
Create an image and boot it on another RPi. At first boot it cannot resolve any hostnames but can ping/connect to IP addresses just fine.
Resolution (from a booted image that does not have the correct time) is to turn off DNSSEC in /etc/systemd/resolved.conf, restart systemd-resolved, then restart systemd-timesyncd, then reboot. After this you can turn DNSSEC back on and restart systemd-resolved. It seems that as long as you just reboot the RPi, and do not power it off for extended periods, it seems to work fine.
Activity
patrolez commentedon May 19, 2020
This is also related to #10579 and #5873 if not just to call it that it is the same.
For now a solution is to distribute pre-configured packages with stable and static-fixed-IP NTP servers within a configuration.
poettering commentedon Nov 5, 2020
Duplicate of #5873
units: turn off DNSSEC validation when timesyncd resolves hostnames
units: turn off DNSSEC validation when timesyncd resolves hostnames