Noip ddns goes down when I restart the wireguard interface

I can reach the ddns just fine a moments ago, but when I restart wg interface, it all goes down. Is my ddns config right? /etc/config/ddns:

config ddns 'global'
        option ddns_dateformat '%F %R'
        option ddns_loglines '250'
        option ddns_rundir '/var/run/ddns'
        option ddns_logdir '/var/log/ddns'

config service 'myddns_ipv4'
        option service_name 'no-ip.com'
        option lookup_host 'testtestzero.zapto.org'
        option enabled '1'
        option use_ipv6 '0'
        option domain 'all.ddnskey.com'
        option username 'eqwewq'
        option password 'eqweqw'
        option ip_source 'network'
        option ip_network 'wan'
        option interface 'wan'
        option use_syslog '2'

Change to

config service 'myddns_ipv4'
        option service_name 'no-ip.com'
        option lookup_host 'your FQDN'
        option enabled '1'
        option use_ipv6 '0'
        option domain 'your FQDN'
        option username 'your username'
        option password 'your password'
        option ip_source 'network'
        option ip_network 'wan'
        option interface 'wan'
        option use_syslog '2'
        option use_https '1'
        option cacert '/etc/ssl/certs/ca-certificates.crt'

Make sure you have curl installed.
Finally, show your DDNS client log illustrating a problem.

1 Like

Ok that did it, also I removed the unused ipv6 lines. Btw I just recently got ipv6 from the ISP. Do I still need DDNS now? Is ipv6 addresses static or they change also?

You need to answer this yourself. We don't know why you setup DDNS at all.

I set it up because I dont use static ip and its very comfy setting up wg with ddns. Now with ipv6 do we still need it? Do we always have same ipv6?

So, you have a WG server on you router where you have a public IPv4 address on wan and GUA IPv6 address on wan6 - correct?
In this case, it makes sense to set up two DDNS clients to update A and AAAA records for the same FQDN.

So even ipv6 addresses change in time like ipv4?

DHCPv6 is out there for some reason. Many ISPs change delegated prefix time to time.

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