Hallo zusammen,
ich bin jetzt kein krasses Skript-Kiddie, aber ich habe da mal was gebastelt, was funktioniert:
:global dnsuser "domain.dnshome.de"
:global dnspass "password123"
:global ipdns [:resolve $dnsuser]
:global ipext [/ip cloud get public-address]
:if ($ipdns != $ipext) do={
:log info ("Dnshome IP = $ipdns")
:log info ("IP = $ipext")
:log info "DynDNS: Updating DNS"
:global url "https://$dnsuser:$dnspass@www.dnshome.de/dyndns.php\?ip=$ipext"
:put [/tool fetch url=$url mode=https as-value output=user]
:delay 1
:log info "DynDNS: IP updated to $ipext!"
}