Hello everyone,I'm encountering an issue while attempting to renew SSL certificates with Let's Encrypt using the nginx-proxy-manager application on my truenas scale server. Whenever I try to renew the certificates, I receive a NameResolutionError indicating a failure in name resolution for acme-v02.api.letsencrypt.org
Error Message:
HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f8502786b50>: Failed to resolve 'acme-v02.api.letsencrypt.org' ([Errno -3] Temporary failure in name resolution))"Timestamp: 2024-02-17 12:30:06.598875+01:00
I've ensured that my server has proper network connectivity and can access the internet. Additionally, I've checked the DNS resolution and confirmed that other domain names resolve correctly.Could anyone please provide guidance on how to troubleshoot and resolve this issue? Any insights or suggestions would be greatly appreciated.
When checking the DNS resolution settings on my server, everything seems to be configured correctly.
The /etc/resolv.conf file contains the correct DNS server entries (8.8.8.8 and 8.8.4.4).
I've tested DNS resolution using dig commands, and it appears that DNS resolution is working fine when querying external domains like google.com and acme-v02.api.letsencrypt.org using the DNS server 8.8.8.8.
However, the issue persists when trying to obtain SSL certificates, indicating that there may be an issue with DNS resolution from my server itself.
It's worth noting that my Docker container typically does not use custom DNS configuration.
It sounds like you are running certbot within a docker container.
If so, then the failed DNS requests are coming from within that container.
I don't know much about docker and how it provides DNS service to its' containers.
I'm almost certain you can get faster help with this type of problem from a docker forum.