Change IP is now supported in Next 2.9 version:
/tool dns-update name=example.proxydns.com address=10.1.0.1 key-name=example key="\[password\]"
:log info "DDNS: Begin"
:global ddns-user "YOURUSERID"
:global ddns-pass "YOURPASSWORD"
:global ddns-host "*1"
:global ddns-interface "EXACTINTERFACENAME"
:global ddns-system ("mt-" . [/system package get [/system package find name=system] version] )
: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"
Thanks for the reply, I'm using 2.9.6 and it would appear dyndns.org doesn't support intergration with Mikrotik. Oh well, I guess I'll just have to use their software update tool...The 2.8 script will only work with ChangeIP.com because we wrote a smtp-to-ddns proxy that takes these updates via emails and applies them. The other providers do not have this same functionality, they only use HTTP protocols.
The 2.9 /tool dns-update might work with other providers but I believe they aren't as reliable. We know the Mikrotik and can troubleshoot and provide support whereas the other companies probably don't even know who Mikrotik is. Also, their updates systems are much more strict and your account is always getting locked out if you sent too many updates.
Turn on the debugging for ddns to see if you can find anything problematic. The problem with DynDNS and other companies is that they output http text in the body message instead of the standard http response codes.
Sam