K-12 Forums

Talk with other K-12 network administrators in your state.

Or see all states.

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

This discussion has been inactive for longer than 30 days, and is thus closed.
    • CommentAuthormacaholic
    • CommentTimeJun 13th 2007
     permalink
    Hi, I run all macs in my house and I would like to track stats and such, but I cannot find a good way to update my Dynamic IP address to Open DNS' servers. If anyone knows the best ways please let me know.
    • CommentAuthorpencoyd
    • CommentTimeJun 14th 2007
     permalink
    RIght now, you can log in to the website and if you have dynamic DNS (really, dynamic IP) option enabled, then if you're coming from an IP different than that previously recorded, you'll see a button on the networks page allowing you to update from the web. https://www.opendns.com/account/networks/

    We should put up a picture -- it's really obvious when you see it! :smile:

    Short term, I'm asking a colleague to finish/clean up the AppleScript he's written. Really simple, and you can examine every line of the code. (Maybe 20 lines.)

    Medium/long term, we are open to talking to other Mac developers about including OpenDNS support in their dynamic IP updaters.

    John Roberts
    OpenDNS
    Thankful People: zweigand
    • CommentAuthoranachron
    • CommentTimeJun 21st 2007
     permalink
    I suggest you contact Julien Jalon, developer of the long-time stable GUI-based Mac DDNS client "DNSUpdate". (Do a web search for "DNSupdate jalon")

    Hopefully you could work w/ him to have him add support for OpenDNS to his client. (His client already supports EasyDNS, DynDns, and ZoneEdit.)

    Another alternative -- have someone compile the INADYN client for Mac OS X. It's Unix-y; it ought to work fine.
    • CommentAuthorpencoyd
    • CommentTimeJun 21st 2007
     permalink
    @anachron - I've reached out to Julien, with no response. If he's listening, we're interested. :smile:

    We're working on a few fronts; you're right about inadyn compile, too.
    • CommentAuthortanc
    • CommentTimeJun 30th 2007
     permalink
    @pencoyd, any news yet on this?
    • CommentAuthormrdeming
    • CommentTimeJul 7th 2007
     permalink
    I sure wish there was a simplier option to making an dynamic ip to work. It should just be a simple app, or even a widget for macs that accepts the login details of opendns and updates the ip to you guys. That would be fantastic. It seems so simple, though I'm not a programmer. :cry:
  1.  permalink
    This NEEDS a bump, as I am going crazy with my cable providers web blocker (Wiki, facebook, myspace, ect.) Not to mention it costs like $5 a month, and yes this is my dad forcing this crap on my internet.

    Did any of the fronts develop?
    • CommentAuthorzweigand
    • CommentTimeAug 29th 2007
     permalink
    Anyone have a pre-compiled version of inadyn? It would be running on an Intel Mac.

    I would also be interested in the AppleScript mentioned above. I mess with it all the time, so it would be a lot more familiar to me than trying to compile an app from the source.
    • CommentAuthorJoe
    • CommentTimeAug 29th 2007
     permalink
    the apple script is basically a wrapper around curl and seems to work ok, the only reason it has not been released is because i was looking for a way to run it periodically in applescript, i don't know much about applescript so if you have suggestions towards that end, i'de be most grateful.
    • CommentAuthorzweigand
    • CommentTimeAug 29th 2007 edited
     permalink
    I would suggest setting up the run schedule in iCal. For the "alarm" you can just have it run the script.

    As far as I know there is no good way to create a good "background" app in applescript. The only way to do that sort of thing is to create a repeat loop and throw a delay in. Not a very good solution. Much better to schedule via iCal or set up a cron event to run the script.

    Have you created the code to store the username/password? Or do users need to manually change them in the script and resave? The best method is to actually use apple's keychain to store the info (which I have done before), but you can also have the script ask for the password/username on first run and store the values for future use.

    I have built quite a few AppleScript applications, so let me know if I can do anything to help.
    • CommentAuthorrycardo
    • CommentTimeSep 2nd 2007 edited
     permalink
    Hey all,

    An other option - until there is a mac client - is to use a cron job.

    I used cronnix to make it easy. I created a user cron job to run at 05:59 every day. You could do it more or less often to fit your needs.

    The exact cron command:
    curl -k 'https://user_name:password@updates.opendns.com/account/ddns.php?'

    If you want to keep a log file, you can use this instead:
    curl -k 'https://user_name:password@updates.opendns.com/account/ddns.php?' >> /path/filename.txt

    Hope this helps,

    Rycardo

    NB in case the lines wrap: there is a single space before and after the -k, and before and after the >>, everything else is run together. If your path to the log file, or the log filename itself includes space, put the path and file name within single quotes.
    Thankful People: bjwhiting
    • CommentAuthorahoier
    • CommentTimeSep 2nd 2007
     permalink
    Couldn't a bookmarklet type thing be made? Something that can sit in the personal bookmarks/Links/<whatever-your-browser-of-choice-calls-it-heh> area, to easily update the ddns from the browser? It uses https, so can't the parameters be passed through the address bar in some way?
    • CommentAuthorrycardo
    • CommentTimeSep 3rd 2007 edited
     permalink
    Hey ahoier,

    Yes, a bookmark/link will work. It's manual, and I - as I'm sure others - am looking for an automatic solution.

    If you want to create one, use one of these urls:

    No Prompting:
    https://user_name:password@updates.opendns.com/account/ddns.php?

    Prompt for User Name and Password:
    https://updates.opendns.com/account/ddns.php?

    There are no spaces in either url, but there is a question mark at the end.

    If the update/verification was successful, you'll be displayed "good" followed by the assigned IP address.

    Rycardo
    • CommentAuthorchiefmoamba
    • CommentTimeSep 3rd 2007 edited
     permalink
    Hey Rycardo,

    Thanks for posting that URL. I have been thinking how to automate it a bit.

    I came up with two quick solutions:

    1) Set your URL as your home page in your browser and then set your browser to open at login.

    2) Use 'Automator'

    a) Open Automator
    b) Add 'run shell script'
    c) Add the following (it's all on one line, with spaces after '.app' and '.php?'):

    open /Applications/Firefox.app https://user_name:password@updates.opendns.com/account/ddns.php? http://www.google.co.uk

    d) Save as 'opendns' as an application
    e) Then go to Apple --> System Preferences --> Accounts --> Login items --> + --> add your opendns automator application. (Tick hide).

    Now when you start, or restart, your mac your browser (in my case Firefox) will open and log you get logged in and your IP updated.

    I tried really hard to get the Firefox OpenDNS window to close again after, just leaving the Google page that the script also opens, but I couldn't figure it out.

    I know it's a bit of a botch job, but perhaps someone with a little more time can take this a step further? One thought I had was to add a pause of about an hour and then a loop, so it keeps updating.

    Thanks,

    Ed
    • CommentAuthorJoe
    • CommentTimeSep 4th 2007
     permalink
    Thx to zweigand, we now have some nice applescript to perform the dynamic ip update from mac's, all that is needed now is some detailed instructions on how to schedule a job via cronnix and/or ical and well post it all up for anyone interested to use.

    any takers?
    • CommentAuthorzweigand
    • CommentTimeSep 5th 2007
     permalink
    It may be as simple as putting it in your login items so it runs every time you boot up or log in. My machine runs 24/7 so I will schedule mine to run once in the morning.
    • CommentAuthorpencoyd
    • CommentTimeSep 7th 2007
     permalink
    http://zwei.gotdns.com/zweisoft / = Excellent!

    Going to call greater attention to it this morning. Congrats, and thanks.
    • CommentAuthorneilmcg
    • CommentTimeSep 10th 2007
     permalink
    I have emailed with the author of DNSUpdate 2.8 - http://www.macupdate.com/info.php/id/6999
    He has said he is too busy to update it to include OpenDNS, but it's already set up to update EasyDNS.com, ZoneEdit.com and DynDNS.org - and he said from the source it should be easy to add OpenDNS - anyone willing to take a look at it?
    • CommentAuthorzweigand
    • CommentTimeSep 29th 2007
     permalink
    Just to let everyone know, I am working on a completely redesigned version of OpenDNS Updater. I'm very close to releasing it to the public, actually. It will no longer be a run-once app. I've made it into a menu bar application that will remain open 24/7. It will check your IP address every 30 minutes and contact the OpenDNS server if it finds that the IP has changed. It's also got an option to update manually any time you want.

    More info soon!
    • CommentAuthorzweigand
    • CommentTimeOct 1st 2007
     permalink
    I've released the new version. You can download it from my site (http://zwei.gotdns.com/zweisoft/) or from MacUpdate.com or VersionTracker.com.

    Questions/Comments/Bugs? Let me know what you think!
    Thankful People: simonlenton
    • CommentAuthoreasywc
    • CommentTimeOct 31st 2007
     permalink
    Safari can’t find the server.
    Safari can’t open the page “http://zwei.gotdns.com/zweisoft/” because it can’t find the server “zwei.gotdns.com”.
    • CommentAuthorzweigand
    • CommentTimeOct 31st 2007
     permalink
    No idea why that doesn't work for you ...but it should have redirected you to

    http://homepage.mac.com/zweigand/zweisoft/
    • CommentAuthoreasywc
    • CommentTimeOct 31st 2007 edited
     permalink
    well I think it's on my end -- or I should say it's because i found out my ISP DNS performance (both with and without OpenDNS) = terrible using the tool someone else suggested from http://swmirror.org/drupal/?q=node/91

    i swear i just have the worst dns and network performance on this imac and I don't know if it's:

    the ISP
    the imac
    OSX (i know there's a lookupd bug that's unresolved that weaks havoc)
    all of the above.

    I'm supposed to have 5mbps download speed, but It's like frozen molasses in a muddy bog.:sad:


    anyway, i downloaded it and sent you a couple questions via email:

    will it automatically load at startup? if not, can i tell it to?
    I use LittleSnitch and should I set it to 'allow forever' whenever the message about OpenDNS Updater pops up?

    thanks!
  2.  permalink
    I am having a really strange problem with this application. When it runs it causes my router to reboot. Every 30 minutes my router will shut down, restart and then pull a new IP from my ISP. If I disable OpenDNS Updater the problem stops. I cant explain it, but it keeps happening.

    I am using a Trendnet TEW-611 router.

    Any ideas?
    • CommentAuthorsunnz
    • CommentTimeFeb 11th 2008
     permalink
    I think ddclient should work, it works on Unix systems and OS X is Unix based.

This discussion has been inactive for longer than 30 days, and is thus closed.