Dynamic DNS Update
In order to update DDNS (Dynamic DNS) on MikroTik router or RouterOS device, we have to make use of the scripting and scheduler feature.
There are some DDNS update scripts for popular providers contributed by the MikroTik community on MikroTik Wiki, which are listed as below.
- Dynamic DNS Update Script for ChangeIP.com
- Dynamic DNS Update Script for ChangeIP behind NAT
- Dynamic DNS Update Script for EveryDNS
- Dynamic DNS Update Script for dynDNS
- Dynamic DNS Update Script for dynDNS behind NAT
- Dynamic DNS Update Script for DNSoMatic.com
- Dynamic DNS Update Script for DNSoMatic.com behind NAT
- Dynamic DNS Update Script for Hurricane Electric DNS
- Dynamic DNS Update Script for No-IP DNS
In this guide, we can only select one of them to show you here. We selected dynDNS for an example here.
Thanks for the community, we have a ready script for dynDNS at http://wiki.mikrotik.com/wiki/Dynamic_DNS_Update_Script_for_dynDNS, so we copied the script from there.
# Define User Variables
:global ddnsuser “DYNDNSUSER”
:global ddnspass “DYNDNSPASS”
:global ddnshost “DYNDNSHOST”
You have to replace the variables above with your dynDNS account details and hostname. For example:
:global ddnsuser “cloudstore”
:global ddnspass “123456”
:global ddnshost “cloudstore.dyndns.org”
Run WinBox.
Click “System” then “Scripts”.
Press the plus button.
Change the name to “dyndns” and paste the full script with your account details into the textarea. Press “OK” to complete.
Click “System” on the menu then “Scheduler” on the sub-menu.
Press the plus button.
Change the values as below and write the name of the script in “On Events:’. Interval is the time before the script is ran again. The value here stated 15 minutes, so the router will check and update the DDNS every 15 minutes.
Press “OK” to complete. The update will run a
Your post is really well written and insightful. Glad I found your website, warm regards from Azzie!
I have been exploring for a bit for any high quality articles or blog posts on this sort of area . Exploring in Yahoo I at last stumbled upon this website. Reading this info So i am happy to exhibit that I have an incredibly just right uncanny feeling I found out exactly what I needed. I so much indubitably will make certain to do not fail to remember this site and provides it a glance regularly.