I am trying to setup ddns with duckdns.org. So I installed ddns-scripts and make the configuration file, after that I have done the following things
sh
. /usr/lib/ddns/dynamic_dns_functions.sh # note the leading period
start_daemon_for_all_ddns_sections "wan"
exit
/usr/lib/ddns/dynamic_dns_updater.sh duckdns
and I am getting an error with-->
**Mon Aug 27 02:21:27 2018 user.warn ddns-scripts[7783]: duckdns: Updating IP at DDNS provider failed - starting retry 6/0
Mon Aug 27 02:21:29 2018 user.err ddns-scripts[7783]: duckdns: No or private or invalid IP '10.12.42.37' given! Please check your configuration
Mon Aug 27 02:21:30 2018 user.err ddns-scripts[7783]: duckdns: No update send to DDNS Provider
Mon Aug 27 02:24:17 2018 user.notice ddns-scripts[24385]: myddns_ipv4: PID '24385' started at 2018-08-27 02:24
Mon Aug 27 02:24:23 2018 user.warn ddns-scripts[24385]: myddns_ipv4: Service section disabled! - TERMINATE
Mon Aug 27 02:24:23 2018 user.warn ddns-scripts[24385]: myddns_ipv4: PID '24385' exit WITH ERROR '1' at 2018-08-27 02:24
Mon Aug 27 02:27:34 2018 user.notice ddns-scripts[25817]: myddns_ipv6: PID '25817' started at 2018-08-27 02:27
Mon Aug 27 02:27:34 2018 user.notice ddns-scripts[25816]: myddns_ipv4: PID '25816' started at 2018-08-27 02:27
Mon Aug 27 02:27:44 2018 user.warn ddns-scripts[25817]: myddns_ipv6: Service section disabled! - TERMINATE
Mon Aug 27 02:27:45 2018 user.warn ddns-scripts[25817]: myddns_ipv6: PID '25817' exit WITH ERROR '1' at 2018-08-27 02:27
Mon Aug 27 02:27:46 2018 user.warn ddns-scripts[25816]: myddns_ipv4: Service section disabled! - TERMINATE
Mon Aug 27 02:27:46 2018 user.warn ddns-scripts[25816]: myddns_ipv4: PID '25816' exit WITH ERROR '1' at 2018-08-27 02:27**
I have no idea how to troubleshoot this problem please help me.
I'm somewhat lost...a default config file is created upon installation. You would edit the file at /etc/config/ddns
I have no clue what this is. You do not run the files directly. OpenWrt uses a Unified Command Interface (UCI). This is also exposed in the LuCI web GUI if you install luci-app-ddns.
_ option update_url 'http://www.duckdns.org/update?domains=[USERNAME]&token=[PASSWORD]&ip=[IP]'_
there is IP thing it's fetching my local ip 10.12.42.37 is there any way to deal with this like--->
option ip_source "interface"
option ip_interface "eth0.1"
option ip_source "web"
option ip_url "http://ipv4.wtfismyip.com/text"
Thank you for the suggestions, I re-installed OpenWRT and I believe those packages highlighted are the ones I need for OpenWRT and service noip.com to function.
This is good to resolve for now. I need to get IPv6 working on my upstream interface, then I will try to configure IPv6 for high availability and backward compatibility between IPv4 and IPv6.
There are still plenty of consumer ISPs out there that will assign dynamic IPv6 prefixes, guaranteed to change after each new dialup (or every 24h) - so ddns is sadly also useful for IPv6 (e.g. wireguard endpoint).
no-ip offers AAAA records for about a year now, but whatever I've tried, I haven't found any way to set AAAA records only - instead no-ip also sets A records at the same time (which is utterly useless and even harmful with cgNAT for IPv4).
I've sorted this by not using no-ip, but it's still unsolved for no-ip.