timeserver not resolving ntp server
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | timeserver: refresh the nameservers before each lookupsrc/ | +51 | 0 replies | |
| 1/2 | timeserver: refresh the nameservers before each lookupsrc/ | +50 | 1 reply | |
| 2/2 | timeserver: include the reason why a timeserver sync is requestedinclude/ src/ src/ +1 more | +30 | 0 replies | |
| 2/2 | timeserver: include the reason why a timeserver sync is requestedinclude/ src/ src/ +1 more | +29 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] timeserver not resolving ntp server
This is a series of fixes for an issue where the timeserver cannot resolve the ntp servers.
1. when the UDP g_io_channel in the nameserver is closed or in an invalid state (for example by a misbehaving external DNS server, during a start up sequence), DNS resolve will fail for the ntp server, and won't ever be able to recover
2. when a service switches from the autoconf link local address to an address configured by DHCP, the timeserver will drop the notification, and the nameservers will not be reloaded in the timeserver's resolv instance.
Nicky Geerts (2):
timeserver: refresh the nameservers before each lookup
timeserver: include the reason why a timeserver sync is requested
include/timeserver.h | 7 +++ src/connman.h | 2 +- src/service.c | 4 +- src/timeserver.c | 118 ++++++++++++++++++++++++++----------------- 4 files changed, 81 insertions(+), 50 deletions(-)
Signature · 1 line
2.25.1