mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 20:35:07 -05:00
Retry name resolving after temporary failure few times before giving up
This is a temporary fix to allow starting when resolv.conf is not ready yet (e.g. when using NetworkManager). It may delay start up to 1022 seconds.
This commit is contained in:
@@ -36,6 +36,8 @@ static const unsigned long DNS_Failed_Address = 0x0UL;
|
||||
|
||||
extern unsigned long DNS_Name2IPAddress(const char *name);
|
||||
|
||||
extern unsigned long DNS_Name2IPAddressRetry(const char *name);
|
||||
|
||||
const char *DNS_IPAddress2Name(unsigned long ip_addr);
|
||||
|
||||
#endif /* GOT_NAMESERV_H */
|
||||
|
||||
Reference in New Issue
Block a user