What type of hardware are you using: Virtual machine
What YunoHost version are you running: 12.1.39
How are you able to access your server: SSH
Describe your issue
I’m encountering this bug specifically with Nextcloud, but the issue stems from a DNS configuration problem. Indeed, github .com is resolving to github.com.mydomain, which then resolves to ::1 (IPv6 localhost). This blocks Nextcloud during app updates because Nextcloud does not accept local resolutions.
One potential solution would be to remove the line “search mydomain” from /etc/resolv.conf. However, I don’t think this is a good idea, as it might break other things.
I’m not sure what I should do to fix this issue while maintaining a correct YunoHost configuration.
Share relevant logs or error messages
getent hosts github.com
::1 mydomain.fr github.com.mydomain.fr
2a01:cb19:80c4:8a00:bc07:baff:****:**** mydomain.fr github.com.mydomain.fr
ping github.com
PING github.com (140.82.121.3) 56(84) bytes of data.
64 bytes from lb-140-82-121-3-fra.github.com (140.82.121.3): icmp_seq=1 ttl=53 time=31.8 ms
64 bytes from lb-140-82-121-3-fra.github.com (140.82.121.3): icmp_seq=2 ttl=53 time=26.1 ms
file: /etc/hosts
127.0.0.1 localhost
127.0.1.1 pc-1566.home pc-1566
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
127.0.0.1 mydomain
File: /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "resolvectl status" to see details about the actual nameservers.
nameserver 127.0.0.1
search mydomain