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
(This is all on version 1.3.1 and as far I see, the changes to 1.4.0 don't improve this problem)
I use ntpd-rs for months, on most machines with server sources specified as domain names. But on one server, I prefer to use hard-coded IP addresses. On this setup I'm only able to use IPv4 addresses and not IPv6 addresses. The error is always spamming the logs with the following:
WARN ntpd::daemon::spawn::standard: error while resolving source address, retrying error=Custom { kind: Uncategorized, error: "failed to lookup address information: Name or service not known" }
I tried the following two types of configuration, both lead to the same error (One with port number, one without. IP addresses replaced with the same format):
(This is all on version 1.3.1 and as far I see, the changes to 1.4.0 don't improve this problem)
I use ntpd-rs for months, on most machines with server sources specified as domain names. But on one server, I prefer to use hard-coded IP addresses. On this setup I'm only able to use IPv4 addresses and not IPv6 addresses. The error is always spamming the logs with the following:
I tried the following two types of configuration, both lead to the same error (One with port number, one without. IP addresses replaced with the same format):
You seem to be mis-parsing the IPv6 literals as domain names and trying to resolve them with DNS, which obviously fails.
P.S.:
I was looking through the source code and found this line. It is not fully correct, as there are IPv6 addresses with only two
:
. I know of a public DNS server at2a09::
that would fail the config. You sould probably change it to>= 2
.https://github.com/pendulum-project/ntpd-rs/blob/v1.4.0/ntpd/src/daemon/config/ntp_source.rs#L261
The text was updated successfully, but these errors were encountered: