MIKROTIK NOIP UPDATE SCRIPT

##############Script Settings################## :local NOIPUser "username" :local NOIPPass "password" :local WANInter "ether1" ############################################### :local NOIPDomain "noiphostmane" ############################################### :local IpCurrent [:resolve myip.opendns.com server=8.8.8.8]; :put $IpCurrent :if ([:resolve $NOIPDomain] != $IpCurrent) do={ /tool fetch mode=http user=$NOIPUser password=$NOIPPass url="http://dynupdate.no-ip.com/nic/update\3Fhostname=$NOIPDomain&myip=$Ipcurrent" keep-result=no :log info "NO-IP Update: $NOIPDomain - $IpCurrent" } :local IpCurrent [:resolve myip.opendns.com server=8.8.4.4]; :put $IpCurrent :if ([:resolve $NOIPDomain] != $IpCurrent) do={ /tool fetch mode=http user=$NOIPUser password=$NOIPPass url="http://dynupdate.no-ip.com/nic/update\3Fhostname=$NOIPDomain&myip=$Ipcurrent" keep-result=no :log info "NO-IP Update: $NOIPDomain - $IpCurrent" }

Comments

Popular posts from this blog

How To Enable FastTrack MikroTik Script

🚨 Stop paying $150/hour trainer. Claude can now architect your entire body transformation for $0. Here are 12 prompts to build a pro-level gym plan, automate your progress, and overhaul your physique in 90 days. (save this before it’s gone)

🚨 Stop paying $150/hour trainer. Claude can now architect your entire body transformation for $0. Here are 12 prompts to build a pro-level gym plan, automate your progress, and overhaul your physique in 90 days. (save this before it’s gone)