Please fix fetch so we can use data: variable in scripts.
/tool fetch mode=http url="http://api.ipify.org/" http-method=get output=user
:put [:resolve domain-name="myip.opendns.com" server=resolver1.opendns.com]
Nice one. I am afraid of only one thing here. Cisco have bought opendns and this service is free for now but for how long?I join the aforementioned.
Another way to get public ip:Code: Select all:put [:resolve domain-name="myip.opendns.com" server=resolver1.opendns.com]