Restarting the router completely does force the DDNS update but stopping and starting the service does not.
I only use the router for DDNS (I don't use it as my main router, or to broadcast wifi, or anything else) so I can configure it or reboot it as I need to. I have configured an autoreboot every 3600 seconds. So that when 1 hour passes it restarts itself.
In the restart as I say if you force the update of the IP so solved. :_)
Maybe it is not the most elegant solution but it does the job.
nothing, it does not force the IP update either. It does not work either.
I have only found the solution to completely reboot the router.
In the restart as I say if you force the update of the IP so solved. :_)
Maybe it is not the most elegant solution but it does the job.[/code]
You just have to make sure that the correct file is deleted
Code:
root@DD-WRT:/tmp/ddns# ls -la
drwx------ 2 root root 0 Dec 9 15:43 .
drwxrwxrwx 17 root root 0 Dec 9 09:56 ..
-rw-r--r-- 1 root root 13 Dec 9 15:43 xyz.de.cache
-rw-r--r-- 1 root root 270 Dec 9 15:43 ddns.log
-rw------- 1 root root 301 Dec 9 15:42 inadyn.conf
Code:
root@DD-WRT:/tmp/ddns# rm /tmp/ddns/*.cache
Code:
root@DD-WRT:/tmp/ddns# service ddns restart
[inadyn] : dynamic dns daemon successfully stopped
[ddns] : successfully started
Code:
root@DD-WRT:/tmp/ddns# cat ddns.log
In-a-dyn version 2.11.0 -- Dynamic DNS update client.
Code:
root@DD-WRT:/tmp/ddns# cat ddns.log
In-a-dyn version 2.11.0 -- Dynamic DNS update client.
Update forced for alias xyz.de, new IP# 11.22.33.44.55.66
Updating IPv4 cache for xyz.de
If it doesn't work, you're doing something wrong - so don't report nonsense
Without deleting the cache file, nothing happens at all
Code:
root@DD-WRT:/tmp/ddns# service ddns restart
[inadyn] : dynamic dns daemon successfully stopped
[ddns] : successfully started
Code:
root@DD-WRT:/tmp/ddns# cat ddns.log
In-a-dyn version 2.11.0 -- Dynamic DNS update client.
root@DD-WRT:/tmp/ddns#
Code:
root@DD-WRT:/tmp/ddns# service ddns restart
[inadyn] : dynamic dns daemon successfully stopped
[ddns] : successfully started
Code:
root@DD-WRT:/tmp/ddns# cat ddns.log
In-a-dyn version 2.11.0 -- Dynamic DNS update client.
root@DD-WRT:/tmp/ddns#
So I updated the firmware especially because of you and it still works for me.
Code:
root@DD-WRT:/tmp/ddns# rm /tmp/ddns/*.cache
Code:
root@DD-WRT:/tmp/ddns# service ddns restart
[inadyn] : dynamic dns daemon successfully stopped
[ddns] : successfully started
Code:
root@DD-WRT:/tmp/ddns# cat ddns.log
In-a-dyn version 2.12.0 -- Dynamic DNS update client.
Update forced for alias xyz.de, new IP# 11.22.33.44
Updating IPv4 cache for xyz.de
So I have no idea what's wrong with your router.
But firstly, your command line looks broken and secondly, In-a-dyn version 2.12.0-dev is displayed
No idea what build the dev version had
and think about what the difference is between a router restart and a service restart
When you restart the router, the log and cache files are not available.
By the way, the developer himself writes that this works
I have upgraded to the firmware version: DD-WRT v3.0-r54475 std (12/07/23) and nothing changes. It still doesn't update the IP by stopping, clearing cache and booting.
Everything is the same as before, the only way to force the ip update is to reboot.