BIND: Clocks are Unsynchronized Error and Solution

BIND: Clocks are Unsynchronized Error and Solution

If you see the error "clocks are unsynchronized" in the logs of the BIND (Berkeley Internet Name Domain) DNS server, it means that the server's clock is not in sync with the clock on the other DNS server it is trying to communicate with. This can cause various issues, such as delays in name resolution or failed zone transfers.

To fix this issue, you need to ensure that the clock on the BIND server is synced with a reliable time source. Here are a few possible solutions:

  1. Configure the BIND server to use the Network Time Protocol (NTP) to synchronize its clock with a reliable time source. This can be done by installing the ntp package and configuring it to use one or more NTP servers.

  2. Configure the BIND server to use the Systemd-Timesyncd service to synchronize its clock with a reliable time source. This can be done by installing the systemd-timesyncd package and configuring it to use one or more NTP servers.

  3. Manually set the clock on the BIND server to the correct time. This can be done using the date command, but it is not a reliable long-term solution as the clock will drift over time and will need to be manually adjusted again in the future.

It is important to ensure that the clock on the BIND server is accurate, as DNS relies on timestamps to determine the freshness of DNS records. If the clock is not accurate, it can cause issues with name resolution and other DNS functions.

Created Time:2017-10-27 14:56:34  Author:lautturi