Validate Dynamic IP: Port Knock or other?

I’d like to script a MT with a dynamic public IP to validate it’s IP with another MT router for access to certain otherwise closed ports. Is it possible to issue a port knock from a MT script? Or is there another clever way to continually update one MT’s dynamic IP into an address list of another?

Thanks in advance,
Scott

I am using dynamic dns script for ip addresses update for domain name registered at dnsexit service. The other routers are just making regular dns resolution and update the record in the address list. And this is used in firewall rules.

It’s possible to knock a TCP port from Mikrotik.
Use /system telnet port=
Unfortunately there’s no way to execute it with a short timeout.

Thank you gents for the replies, looks like the DynDNS is a simple solution that we’ll use. Merry Christmas!

(:
Scott