Hello guys,
Anygood script to have an auto ip cloud updated every 2 minutes please?
Since my mikrotik is not ppoe ip cloud seems to not working correctly.
Please help :3
thanks buddy! it's working#get current external IP
:global currentIP [:resolve myip.opendns.com server=208.67.222.222];
:global resolvedIP;
# Determine if DNS update is needed
:if ($currentIP != $resolvedIP) do={
:log info ("Mynetname update needed: Current-IP: $currentIP Resolved-IP: $resolvedIP")
/ip cloud force-update
:global resolvedIP [:resolve myip.opendns.com server=208.67.222.222];
} else={
:log info ("Mynetname: No update needed ($currentIP=$resolvedIP)")
}