Feature Requests item #1436145, was opened at 2006-02-21 20:57
Message generated for change (Comment added) made by blueyed
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=676131&aid=1436145&group_id=116817
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Bill Wohler (wohler)
Assigned to: wimpunk (wimpunk)
Summary: Add "use" to host definition
Initial Comment:
It appears that "use" is a global definition only.
However, I'd like it to be useful in host definitions also.
For example, I'd like home.dyndns.org to reflect the IP
address for my firewall at home and laptop.dyndns.org
to reflect the IP address of my laptop, no matter where
it is. I thought something like the following would do
the trick, but it only confused ddclient (3.6.2-6, on
Debian GNU/Linux (etch)).
protocol=dyndns2
server=members.dyndns.org
login=<login>
password=<password>
use=web laptop.dyndns.org
use=fw, \
fw=http://192.168.0.1/status.html, \
fw-login=<login>, \
fw-password=<password> \
home.dyndns.org
----------------------------------------------------------------------
Comment By: daniel hahler (blueyed)
Date: 2009-05-23 01:54
Message:
With 3.8.0 the following appears to work:
use=web
some-server-settings
server=updates.opendns.com, use=cmd, cmd="wget -q www.example.com/ip.php
-O-" login=$USER, password='$PASS' $NAME
It uses "web" by default, but the specified command in the second case.
Looks like adding this feature caused multiple queries for the same "use"
(i.e. if you have just one global "use" config, it gets refetched per
server entry), filed at 2795656.
However, this item can be closes, as far as I can see.
----------------------------------------------------------------------
Comment By: Crazy_Hopper (crazy_hopper)
Date: 2008-05-22 17:15
Message:
Logged In: YES
user_id=1371696
Originator: NO
Same goes for 'if' setting.
One must be able to monitor different local interfaces for different host
entries.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=676131&aid=1436145&group_id=116817
|