This is the procedure I did right away but unfortunately it doesn’t work. I have followed the correct steps indicated by DUCKDNS and although I have updated the DDNS script via SSH, I cannot manage to make my personal DNS work anyway.
edit the config at /etc/config/ddns
config service “duckdns”
option enabled “1”
option domain “MYDNS.duckdns.org”
option username “pivpnanonymous”
option password “xxxxxxxxxxxxxxxxxxxxxxxxx”
option ip_source “network”
option ip_network “wan”
option force_interval “72”
option force_unit “hours”
option check_interval “10”
option check_unit “minutes”
#option ip_source “interface”
#option ip_interface “eth0.1”
#option ip_source “web”
#option ip_url “http://ipv4.wtfismyip.com/text”
option update_url “http://www.duckdns.org/update?domains=[USERNAME]&token=[PASSWORD]&ip=[IP]”
#option use_https “1”
#option cacert “/etc/ssl/certs/cacert.pem”
now start it up
sh
. /usr/lib/ddns/dynamic_dns_functions.sh # note the leading period
start_daemon_for_all_ddns_sections “wan”
exit
we can now test the script by running the command
/usr/lib/ddns/dynamic_dns_updater.sh duckdns