I'm sure there is a reason why all the DynDNS update scripts are HTTP. Can anyone explain why HTTPS is not used?
cheers,
Jeroen
#:global ddnsip [ /ip address get [/ip address find interface=$ddnsinterface] address ]
:local network [/ip address get number=1 address]
#:log info (" network is $network")
:local length [:len $network]
#:log info ("length is $length")
:local ddnsip [:pick $network 0 ($length-3)]
:log info ("UpdateDynDNS: fetched IP address is $ddnsip")
:log info [ :put [/tool dns-update name=$ddnshost address=[:pick $ddnsip 0 [:find $ddnsip "/"] ] key-name=$ddnsuser key=$ddnspass ] ]
:log info [ :put [/tool dns-update name=$ddnshost address=$ddnsip key-name=$ddnsuser key=$ddnspass ] ]