How can I create a script with following string:
curl –user domain_ddns.com.br:pass_domain http://members.ddns.com.br/nic/update?hostname=domain.ddns.com.br
How can I create a script with following string:
curl –user domain_ddns.com.br:pass_domain http://members.ddns.com.br/nic/update?hostname=domain.ddns.com.br
You can try Fetch: http://wiki.mikrotik.com/wiki/Fetch
I set the script below:
tool fetch url=“http://members.ddns.com.br/nic/updatehostname=user.ddns.com.br” user=user.ddns.com.br password=pass mode=http
reply:
status: failed
failure: 404 Not Found
I test the dns and the dns resolving this url:
ping members.ddns.com.br
HOST SIZE TTL TIME STATUS
177.71.186.198 56 48 21ms
177.71.186.198 56 48 9ms
177.71.186.198 56 48 10ms
177.71.186.198 56 48 10ms
sent=4 received=4 packet-loss=0% min-rtt=9ms avg-rtt=12ms max-rtt=21ms
what is the error in the script?