RUT906 - DDNS not updating

Hello,
I have a Teltonika RUT906 router, I have 2 SIM cards from different networks connected to it, everything is configured correctly here, each card gets its IP without a problem. Unfortunately, the problem is with DDNS. I have 2 SIM cards and automatic card switching is enabled:
PLAY - 10.70.0.27/32
T-Mobile - 10.88.0.19/32

When I e.g. remove the PLAY card, I get the IP from T-Mobile, when I remove the card from T-Mobile I get the IP from PLAY, unfortunately in DDNS there is always the T-Mobile IP, despite the fact that all other places e.g. ip r on the router show the IP of the PLAY network, DDNS does not see it at all.

It looks like this:


My entire DDNS configuration looks like this

I have selected a script wan.sh as the IP source, and this script looks like this:
ip -4 addr show usb0 | sed -Ene 's/^.*inet ([0-9.]+)\/.*$/\1/p'
It always returns me the correct IP, the one that is active at the moment.

My firmware on the router


I have no idea what’s wrong, I tried restarting the server, but it didn’t help. Sometimes after restarting it shows Last Update and Next Update, but when it’s time for Next Update, nothing happens and I don’t know what the problem is. I tried changing cards several times, but still no effect.

Any idea what I did wrong?

Hello,

Thank you for reaching out and your patience.

From the first view, your setup and configuration look correct.

Theoretically, you could try creating two DDNS instances for each mobile interface, as well as in each configuration’s Event network field selecting the appropriate network source, i.e. mob1s1a1 / mob1s2a1. Additionally

Furthermore, it should be mentioned that the IP addresses you’re receiving from both SIM cards (PLAY: 10.70.0.27/32 and T-Mobile: 10.88.0.19/32) are private and are not routable over the public internet. But I assume you’re using a private APN since there’s a need for private IPs.

More relevant information regarding public and private IPs can be found here.

Let me know if that helps or if you need further assistance!

Best regards,