I cannot find the command : /tool/dns-update in OS 2.9.43 so my DDNS script (ChangeIP.com) stop working..
It ´s that correct ?
My DDNS Script :
:log info “DDNS: Begin”
:global ddns-user “myuser”
:global ddns-pass “mypass”
:global ddns-host “myhost”
:global ddns-interface “myinterface”
:global ddns-ip [ /ip address get [/ip address find interface=$ddns-interface] address ]
:if ([ :typeof $ddns-lastip ] = nil ) do={ :global ddns-lastip 0.0.0.0/0 }
:if ([ :typeof $ddns-ip ] = nil ) do={
:log info ("DDNS: No ip address present on " . $ddns-interface . “, please check.”)
} else={
:if ($ddns-ip != $ddns-lastip) do={
:log info “DDNS: Sending UPDATE!”
:log info [ /tool dns-update name=$ddns-host address=[:pick $ddns-ip 0 [:find $ddns-ip “/”] ] key-name=$ddns-user key=$ddns-pass ]
:global ddns-lastip $ddns-ip
} else={
:log info “DDNS: No change”
}
}
:log info “DDNS: End”
Regards