View Single Post
  #5   (View Single Post)  
Old 2nd October 2008
Sunnz's Avatar
Sunnz Sunnz is offline
Real Name: I don't have real time
Just a computer user...
Join Date: May 2008
Location: See Google Maps
Posts: 101

Well, I have just look at closer look at ddclient.

It seems to be pretty flexible, I haven't tried this yet, but from the documentation on sourceforge, you can supply an interface name into it, which ddclient will in turn call ifconfig itself. It also seems like they have some smart regex text process build in that will parse the output of any ifconfig, rather on Linux or BSD, and search for something that looks like an IP address; additionally, you can specify a pattern which the search will only be perform after it.

A command can also be specified into ddclient, so you can write any script which can get the IP address from anywhere, and whatever it outputs ddclient will try to parse it and search for an IP... again it is the same as the specifying an interface name, one can supply a pattern which ddclient will skip in its search.

Got to try this out soon.
She sells C shells by the seashore.
Reply With Quote