We use the IP-Cloud feature of the MT-Routers for remote access but also in scripts for updating VPN-Tunnels for sites with dynamic IP-addresses. At a site in Fuerteventura the MT-Router is behind a Telefonica-Router and has no public IP-address, but receives a private “WAN-Address” via DHCP-Client from the Telefonica router.
We get a new IP-Address on a regular basis, but the DNS-Name is not updated automatically. I usually have to log onto the router via winbox and execute the “Force-Update” command on the IP-Cloud-dialog.
I don’t have this problem with other routers, at least I am not aware of it.
The router is a hAP ac with RouterOS 6.38.5.
a) Router checks only for local address changes. It works fine when it has dynamic, but still public address.
b) Router asks remote server about address (which server takes from packet source address). This also works for routers behind NAT.
The trouble with b) is that it causes too much traffic. It’s nothing for one router, but imagine what happens to server with (many) thousands of clients. So generally if client uses b), it tends to use it with longer intervals. RouterOS manual says:
Router checks for outgoing IP address change: every 60 seconds
That sounds fast. I did a quick test with this and enabled DNS updates:
There’s one packet logged at the beginning and that’s it so far. Fifteen minutes passed and no other packet was logged. So I don’t know if it’s broken or if I just misunderstood something.
I got a reply from support (already long time ago, but I had no time to put it here), as an update on this topic for everyone
That is because automatic update happens only when WAN address is changed. Since the router is behind NAT, it can not detect address changes and will not update automatically. Force update sends DDNS update regardless the address has changed or not.
Ig you are using Telefonica in Spain you have 2 options for getting the Internet valid IP address in the mikrotik
1.- Request Telefonica for the ONT only. You will take away the router (is a $#%#$%#$%) and you will have the ONT only working like media converter. You need to make pppoe client in the mikrotik and everything will work in the MK
2.- Setup the stupid telefonica router like a bridge in the VLAN for the internet access (I do it always in my customers when is not possible exchanging the router for a ONT alone)