Pi-hole and Let's Encrypt issue

My YunoHost server

Hardware: yunohost iso installed in a VM on proxmox 5.4
YunoHost version: 3.7.0.12 (stable)
I have access to my server : Through SSH | through the webadmin | direct access via proxmox console
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain:

Description of my issue

Hi friends,
I used yunohost on proxmox for more than 2 years now, my problem today is that when I want to renew the certificate for my domain Pi-hole block the request but I can’t find what is going wrong.
I used the apps Pi-Hole included in the yunohost store with the last version = 3.3.1~ynh6.
All this is Under a yunohost domain name: arjz/noho.st.

Below I paste the logs in reference of my let’s encrypt renewal attempt with pi-hole enabled and these whitlisted domains :

acme-v02.api.letsencrypt.org
arjz.noho.st
forge.yunohost.org
fr.pornhub.com
ftp.debian.org
iapref.orange.fr
ip.yunohost.org
pacloudflare.com
security.debian.org

There is the log from yunohost:

2020-04-05 19:09:21,640: INFO - Found domains: arjz.noho.st
2020-04-05 19:09:21,641: INFO - Getting directory...
2020-04-05 19:09:41,659: ERROR - Error getting directory:
Url: https://acme-v02.api.letsencrypt.org/directory
Data: None
Response Code: None
Response: <urlopen error [Errno -3] Temporary failure in name resolution>
2020-04-05 19:09:57,468: DEBUG - Could not get public IPv4 : URL https://ip.yunohost.org invalide : ce site existe-t-il ?
2020-04-05 19:09:57,471: WARNING - Debug information:
 - domain ip from DNS        86.234.47.23
 - domain ip from local DNS  86.234.47.23
 - public ip of the server   None

2020-04-05 19:09:57,471: ERROR - Certificate renewing for arjz.noho.st failed !

There is the log from pi-hole (pihole.log) it appears three times:

Apr  5 19:09:57 dnsmasq[32015]: forwarded 1.0.0.127.bl.score.senderscore.com to 2a01:3a0:53:53::
Apr  5 19:09:57 dnsmasq[32015]: reply acme-v02.api.letsencrypt.org is <CNAME>
Apr  5 19:09:57 dnsmasq[32015]: reply prod.api.letsencrypt.org is <CNAME>
Apr  5 19:09:57 dnsmasq[32015]: reply ca80a1adb12a4fbdac5ffcbc944e9a61.pacloudflare.com is 172.65.32.248
Apr  5 19:09:57 dnsmasq[32015]: query[A] 1.0.0.127.sbl.spamhaus.org from 127.0.0.1
Apr  5 19:09:57 dnsmasq[32015]: forwarded 1.0.0.127.sbl.spamhaus.org to 2001:910:800::40

If I disable Pi-Hole, the let’s encrypt renewal working find, I know that the error “public ip of the server None” is the point that I have to correct.
If someone can help with this I’ll be very grateful.

Regards


This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.