Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api: retry the getDirectory request on DNS errors
In some situations, even thought you have proper start-up ordering, DNS might briefly be unavailable when the lego units are started. This is especially critical as systemd doesn't enforce ordering after targets (e.g. the nss-lookup.target) when configuration is being changed and both the local DNS resolver & lego are being restarted at the same time.
- Loading branch information