In order to update DDNS (Dynamic DNS) on Mikro Tik router or Router OS device, we have to make use of the scripting and scheduler feature. Change the name to “dyndns” and paste the full script with your account details into the textarea. Click “System” on the menu then “Scheduler” on the sub-menu. Change the values as below and write the name of the script in “On Events:’.There are some DDNS update scripts for popular providers contributed by the Mikro Tik community on Mikro Tik Wiki, which are listed as below. Interval is the time before the script is ran again.’ is special, and must be escaped using CTRL V, followed by ‘? The above method must be applied to the interface which will receive the public IP address; Dyn DNS requires the hostname parameter to associate the correct third level domain: During an interface status change, when the interface became up/up, the router will invoke the following URL: The Open DNS configuration is similar, but more complex because: Jan 5 .628 CEST: DYNUPD: SWIF comingup 'ATM0' Jan 5 .628 CEST: DYNUPD: SWIF comingup 'ATM0.1' Jan 5 .849 CEST: DYNUPD: SWIF comingup 'Virtual-Access2' Jan 5 .633 CEST: DYNDNSUPD: Adding DNS mapping for gateway.cx 126.96.36.199 Jan 5 .633 CEST: HTTPDNSUPD: Session ID = 0x3D Jan 5 .633 CEST: HTTPDNSUPD: URL = 'https://[email protected]:[email protected]/nic/update?hostname=Home' Jan 5 .633 CEST: HTTPDNSUPD: Sending request Jan 5 .237 CEST: HTTPDNSUPD: Response for update gateway.cx 188.8.131.52 Jan 5 .237 CEST: HTTPDNSUPD: DATA START good 184.108.40.206 Jan 5 .237 CEST: HTTPDNSUPD: DATA END, Status is Response data recieved, successfully Jan 5 .237 CEST: HTTPDNSUPD: Call returned SUCCESS for update gateway.cx 220.127.116.11 Jan 5 .026 CEST: HTTPDNSUPD: Session ID = 0x3F Jan 5 .633 CEST: HTTPDNSUPD: URL = 'https://[email protected]:[email protected]/nic/update?In our example we will use gregsowell-site A.and gregsowell-site B.
You’ll see what they offer right on the front page: free and secure dynamic DNS for absolutely free.The router must authenticate that certificate using the correspondent Root CA certificate.Using openssl from a Linux OS, the Root CA can be identified: # cat | openssl x509 -noout -subject -dates -issuer subject= /serial Number=Uo Fmxu6ta5ec Ji Is4su2w-q-u8rx J/d3/OU=GT55236522/OU=See (c)12/OU=Domain Control Validated - Rapid SSL(R)/CN=*.not Before=Aug 23 2012 GMT not After=Sep 25 2014 GMT issuer= /C=US/O=Geo Trust, Inc./CN=Rapid SSL CA # cat | openssl x509 -noout -subject -dates -issuer subject= /serial Number=y VOs Lnm4HIMMKOEEGwizz Zh6WL7xn TE7/C=US/O=members.dyndns.org/OU=80401367/OU=See (c)10/OU=Domain Control Validated - Quick SSL Premium(R)/CN=members.not Before=Feb 24 2010 GMT not After=Mar 27 2013 GMT issuer= /C=US/O=Equifax/OU=Equifax Secure Certificate Authority # wget -q Trust_Global_# openssl verify -CAfile Geo Trust_Global_-purpose any -untrusted opendns.pem: OK # wget -q openssl verify -CAfile Equifax_Secure_Certificate_-purpose any -untrusted dyndns.pem: OK crypto pki trustpoint GEOTRUST enrollment terminal pem revocation-check none crypto pki authenticate GEOTRUST Enter the base 64 encoded CA certificate.you must change your token and domain to be the one you want to update 2.1 Go to ' Start' and select Computer (Windows XP select My Computer) 2.2 Go into C:\users\YOUR-USERNAME (Windows XP: C:\Documents and Settings\YOUR-USERNAME) 2.3 Right click in an empty spot and go to NEW Call Log Entry() Sub Log Entry() On Error Resume Next Dim obj Request Dim URL URL = "https:// Click OK, go back to your file and perform step 2.6.domains=exampledomain&token=a7c4d0ad-114e-40ef-ba1d-d217904a50f2&ip=" Set obj Request = Create Object("Microsoft. Send Set obj Request = Nothing End Sub 2.5 Go back to the text document and select Paste. This task is to automatically run the script file you have just created.They also offer a free VPN service if you’re interested.