I've had DDNS running for some time updated by my PiHole, however, I want to set up a new one for my mother on an OpenWrt router (old TPLink) I plan to give to her when I visit next month. To make sure I knew what I was doing I have tried to set this up on my current router a Pi running OpenWrt. This runs fine on first setting and I checking the log get the response from the provider, however, when the next check rolls around there's a time out
091500 WARN : Get registered/public IP for 'mydomain.freeddns.org' failed after 5 retries - TERMINATE
091500 WARN : PID '12873' exit WITH ERROR '1' at 2022-03-16 09:15
There's a whole load of prior errors about missing libraries I think to do with no IPV6 as they are there when it works at first run.
my config
config service 'dynu'
option enabled '1'
option lookup_host 'mydomain.freeddns.org'
option use_ipv6 '0'
option service_name 'dynu.com'
option domain 'mydomain.freeddns.org'
option username 'myname'
option password 'mypassword'
option use_syslog '2'
option check_unit 'minutes'
option force_unit 'minutes'
option retry_unit 'seconds'
option ip_source 'network'
option ip_network 'Wan'
option interface 'Wan'
option check_interval '15'
option retry_count '5'
option retry_interval '60'
option force_interval '720'
option use_https '1'
option cacert 'IGNORE'
option force_ipversion '1'
If I check with ifconfig my pppoe-Wan has the correct external IP address and I can successfully update one of my other dynamic addresses with a script on my PiHole and it does update fine on first run.