Jump to content

Ddns (dynamic Dns)


Recommended Posts

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)

ddns-1.4 n1.png

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 by brianzimm
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 by brianzimm
Link to comment
Share on other sites

This looks bloody fantastic brianzimm! Perfect implementation! This is at the top of my list of modules to try ASAP. Thanks man!

telot

Link to comment
Share on other sites

DDNS module - version 1.2 is now out. (see 1st post for change log)

You can find it in you local pineapple bar. :)

Edited by brianzimm
Link to comment
Share on other sites

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). :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...