YunoHost / issues

General issue tracker for the YunoHost project
71 stars 8 forks source link

Can't get DNS diagnosis to work with several IPv6 #1692

Open Salamandar opened 3 years ago

Salamandar commented 3 years ago

Yunohost can't get to correctly find my ipv6 AND the correct DNS record :

The weird thing, maybe the root of the issue, is that multiple IP are reported by iproute :

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 64:62:66:d0:06:ce brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.41/24 brd 192.168.1.255 scope global dynamic noprefixroute eth0
       valid_lft 85204sec preferred_lft 85204sec
    inet6 XXXX:XXX:XXXX:6960::2791:bdcc/128 scope global deprecated dynamic noprefixroute 
       valid_lft 615sec preferred_lft 0sec
    inet6 XXXX:XXX:XXXX:6960:850f:cb92:388:2b5d/64 scope global dynamic noprefixroute 
       valid_lft 86358sec preferred_lft 14358sec
    inet6 fe80::c8eb:588d:eba7:2863/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

( I replaced numbers with Xs, they are the same for the 2 ip addresses. The 3rd one is the local link ip)

Between reboots, the order of the 2 ips change, that may be the root of the first issue, but that doesn't explain why the DNS record does not update locally (even after a reboot).

Salamandar commented 3 years ago

I found out that I can edit /var/cache/yunohost/diagnosis/dnsrecords.json to install a Let's Encrypt certificate, so that means that my config IS correctly working, just Yunohost is certain it is not.

alexAubin commented 5 months ago

Sharing the solution you found for this problem:

stopipv6