Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A command line tool to update dyndns.org IP info' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A command line tool to update dyndns.org IP info
Authored by: mankoff on Jan 27, '05 09:56:57AM
I run a small webserver using dyndns.org as my DNS provider.
So do I: http://spacebit.dyndns.org/twiki/bin/view/Main/AboutThisSite
I do all of my administraion over ssh, and I needed a way to update my DNS records using cron.
me too
However, the solutions avaliable for Mac OS X are somewhat limited, and lack command line support.
Not 100% true: DDCLient works fine. It isn't a "Mac OS X" solution, it is a *nix solutino. You can get it via Fink or install it without fink. It has every feature you could possibly need, including caching (not updating unless necessary) and timeouts (updating every 15 days no matter what to keep the account active), etc.

[ Reply to This | # ]
A command line tool to update dyndns.org IP info
Authored by: klimas on Jan 27, '05 10:35:23AM

How do you get ddclient to timeout? That's the only problem I've had with using it.



[ Reply to This | # ]
A command line tool to update dyndns.org IP info
Authored by: mankoff on Jan 27, '05 10:49:09AM

Not sure what you mean...

You do not want ddclient to timeout. http://dyndns.org closes your account if you don't access it for > X days (X = 15 I think?). At the same time they shut you down if you update too often when there has not been an IP change.

So ddclient
1) only updates when there has been a change but
2) updates ever X - Y days (where Y is a few days), even with no change, so that dyndns.org doesn't shut down the account.

It does this with the default fink install. I didn't configure anything.



[ Reply to This | # ]
A command line tool to update dyndns.org IP info
Authored by: houchin on Jan 27, '05 10:36:02AM
DNS update (http://www.dnsupdate.org/) is another option for people that want a GUI app for configuration, but want a daemon that runs in the background to do the updating automatically. You don't even have to be logged in for it to update.

[ Reply to This | # ]
ddclient is the one
Authored by: lullabud on Jan 27, '05 12:54:13PM

I've been using ddclient on linux for years, especially since in debian it's as easy as `apt-get install ddclient`. When I installed Fink, `fink install ddclient` was one of the first commands I issued. ddclient has great support for tons of options and the fact that it's programmed well with perl means it runs on all *nix OSes. Perl also means you can tweak it to your hearts delight if you know how and feel the desire, it is command line based, it runs in daemon mode or one-time only mode which is good for use with cron scripts, it supports both local interface IP# detection and outside nat WAN interface detection through a few different methods, so on and so forth, tons of features. ddclient is it.



[ Reply to This | # ]
A command line tool to update dyndns.org IP info
Authored by: rmiller021 on Jan 27, '05 02:23:31PM

My intent was to learn something. I managed to write a client to update DYNDNS.org. I did not need a fully capable client i just wanted something dead simple and reliable that i could run with cron.

---
Do you think at 900 char system call is a problem? I love embedding applescripts in c++ :)



[ Reply to This | # ]