diff --git a/data/hooks/conf_regen/43-dnsmasq b/data/hooks/conf_regen/43-dnsmasq index 3b7573f6e..27aecb5dd 100644 --- a/data/hooks/conf_regen/43-dnsmasq +++ b/data/hooks/conf_regen/43-dnsmasq @@ -16,7 +16,7 @@ function safe_copy () { cd /usr/share/yunohost/templates/dnsmasq # Get IP address -ip=$(curl ip.yunohost.org 2>/dev/null || echo '0.0.0.0') +ip=$(curl https://ip.yunohost.org 2>/dev/null || echo '0.0.0.0') # Get IPv6 IP address ipv6=$(ip route get 2000:: | grep -q "unreachable" && echo '' \