brianzimm Posted May 13, 2012 Share Posted May 13, 2012 (edited) Thanks to telot for the idea. http://forums.hak5.org/index.php?showtopic=26498 DDNS module - version 2.1 :D Current Features version 2.1: option to add to a cron job to update force a dns update option to check if external ip is the same as dynamic dns address add a ping check to see if pineapple is online --If online continue with ddns update --If offline stop ddns update (since wget will time out in 30s to 1min) --Also display message if online/offline code cleanup (combine update.php in to ddns.php) add a log of ip addresses that have been updated to dynamic service included an empty ddns.log file to prevent error when log file has not been created I did a big code clean up on it and integrated the ddns log. Added Support for zoneedit.com Added Support for dnsdynamic.org Added Support for afraid.org Want Support for a dynamic dns service (let me know and I will try to add it) Version 2.1 (colors will be different in final version) Future Features version 2.?: e-mail when ip changes ??? more to come ??? So far it will work with Dyndns (Here is a 15% OFF coupon for dyn.com RFE3PTHNPJ enjoy) no-ip zoneedit.com dnsdynamic.org afraid.org Have suggestions, bugs, comments let me know here. :) Edited May 27, 2012 by brianzimm Quote Link to comment Share on other sites More sharing options...
Darren Kitchen Posted May 13, 2012 Share Posted May 13, 2012 Nicely done! Quote Link to comment Share on other sites More sharing options...
Prox Posted May 14, 2012 Share Posted May 14, 2012 Can't wait to try that out! Currently I have mine update on boot with: wget -qO- $(echo -e "username:password@dynupdate.no-ip.com/nic/update?hostname=$host") > /usb/dynresponse Crontabs runs the following "Notify" code every few minutes to send a text message with the IP address if an update has occured. #!/bin/bash if [ -f /usb/online ] then if [ -f /usb/dynresponse ] then tweetline="DYNresponse - "$(cat /usb/dynresponse) /usb/usr/bin/python /usb/tweet.py "$tweetline" rm /usb/dynresponse sync && echo 3 > /proc/sys/vm/drop_caches fi fi Quote Link to comment Share on other sites More sharing options...
brianzimm Posted May 16, 2012 Author Share Posted May 16, 2012 (edited) DDNS module - version 1.0.1 is now out. (version 1.0.0 had a file error when you tried to install it) You can find it in you local pineapple bar. :) Edited May 16, 2012 by brianzimm Quote Link to comment Share on other sites More sharing options...
telot Posted May 17, 2012 Share Posted May 17, 2012 This looks bloody fantastic brianzimm! Perfect implementation! This is at the top of my list of modules to try ASAP. Thanks man! telot Quote Link to comment Share on other sites More sharing options...
brianzimm Posted May 21, 2012 Author Share Posted May 21, 2012 (edited) DDNS module - version 1.2 is now out. (see 1st post for change log) You can find it in you local pineapple bar. :) Edited May 22, 2012 by brianzimm Quote Link to comment Share on other sites More sharing options...
brianzimm Posted May 27, 2012 Author Share Posted May 27, 2012 Along with the Mk4 Firmware 2.1.0 Release DDNS module - version 2.1 is now out. (see 1st post for change log) You can find it in you local pineapple bar (update to Mk4 Firware 2.1.0). :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.