On Saturday 23 July 2005 11:16, Patrick Useldinger wrote:
Yves Glodt wrote:
I search for a solution to get the ip address of
a friends dsl
connection, but for a special reason I can/want not use classic
dyndns.org
There are similar services like dynup for example. Do you mind
sharing the reason why you do not want to use an external service?
That would free you of the hassle of running a service yourself.
Anyway, ANY servet that you run on your box would do as long as you
are able to extract the source IP from its log files or otherwise,
i.e. you could use an apache server for example. What servers are
running on your box at this point? Anything you might use for this
purpose?
We have apache as well, but I did not want to use wget calling my server
every 5 minutes, although that works well and is easy...
I tried something else:
I modified the ddclient script to call me own server and noticed it does
not more than a http GET, with the parameters in the url...
system=dyndns&hostname=myhost.dyndns.org&myip=xxx.xxx.xxx.xxx
I think I will work on this base...
Thanks for your answer,
Yves
-pu
--
Linux 2.6.12 #1 Sat Jul 9 23:28:04 CEST 2005 i686
21:18:14 up 1 day, 1:42, 0 users, load average: 2.31, 1.12, 0.83