Re: [Ddclient-support] Cannot update local address.
Brought to you by:
supersandro2000,
wimpunk
From: wimpunk <wi...@us...> - 2018-01-09 20:14:35
|
On 12/20/2017 04:19 PM, Alec Leamas wrote: > Dear list, > > I'm trying to update to a non-routable address using "use=if, if=eth0" > against freedns.afraid.org. The relevant part of the logs are below. > The problem is that despite that eth0 reports 10.136.128.148, ddclient > seemingly uses the external address XX.20.62.212, the same as would be > used if configured with "use=web". > > ddclient version 3.8.2 on debian jessie. > > Any clues out there? > > --alec > > ---------------- ddclient.conf -------------------------------- > > use=if, if=eth0 > > protocol=freedns > server=freedns.afraid.org > login=foo > password=bar > somehost.crabdance.com > > ---- logs from directly invoking ddclient (no service scripts involved ---- > > > DEBUG: get_ip: using if, eth0 reports 10.136.128.148 > > DEBUG: server = freedns.afraid.org > CONNECT: freedns.afraid.org > > CONNECTED: using HTTP > SENDING: GET > /api/?action=getdyndns&sha=e572c133ae2e34d39fe8e70cbd9b8422b36eb5ef HTTP/1.0 > SENDING: Host: freedns.afraid.org > SENDING: User-Agent: ddclient/3.8.2 > SENDING: Connection: close > SENDING: > RECEIVE: HTTP/1.1 200 OK > > RECEIVE: > > RECEIVE: > somehost.crabdance.com|XX.20.62.212|http://freedns.afraid.org/dynamic/update.php?dlRnbzBBbUhkOEVmaUxBQUJoZDc6MTcyMzM2OTI= > INFO: setting IP address to 10.136.128.148 for XXXXXX/.crabdance.com > UPDATE: updating somehost.crabdance.com > DEBUG: proxy = > DEBUG: url = > http://freedns.afraid.org/dynamic/update.php?dlRnbzBBbUhkOEVmaUxBQUJoZDc6MTcyMzM2OTI= > DEBUG: server = freedns.afraid.org > CONNECT: freedns.afraid.org > CONNECTED: using HTTP > SENDING: GET > /dynamic/update.php?dlRnbzBBbUhkOEVmaUxBQUJoZDc6MTcyMzM2OTI= HTTP/1.0 > SENDING: Host: freedns.afraid.org > SENDING: User-Agent: ddclient/3.8.2 > SENDING: Connection: close > SENDING: > RECEIVE: HTTP/1.1 200 OK > RECEIVE: Server: nginx > RECEIVE: Date: Wed, 20 Dec 2017 13:35:07 GMT > RECEIVE: Content-Type: text/plain; charset=utf-8 > RECEIVE: Connection: close > RECEIVE: Vary: Accept-Encoding > RECEIVE: Cache-Control: no-store, no-cache, must-revalidate > RECEIVE: Cache-Control: post-check=0, pre-check=0 > RECEIVE: Pragma: no-cache > RECEIVE: Expires: Mon, 26 Jul 1997 05:00:00 GMT > RECEIVE: X-Cache: MISS > RECEIVE: > RECEIVE: ERROR: Address XX.20.62.212 has not changed. > WARNING: REPLIED: HTTP/1.1 200 OK > WARNING: Server: nginx > WARNING: Date: Wed, 20 Dec 2017 13:35:07 GMT > WARNING: Content-Type: text/plain; charset=utf-8 > WARNING: Connection: close > WARNING: Vary: Accept-Encoding > WARNING: Cache-Control: no-store, no-cache, must-revalidate > WARNING: Cache-Control: post-check=0, pre-check=0 > WARNING: Pragma: no-cache > WARNING: Expires: Mon, 26 Jul 1997 05:00:00 GMT > WARNING: X-Cache: MISS > WARNING: > WARNING: ERROR: Address XX.20.62.212 has not changed. > FAILED: updating somehost.crabdance.com: Invalid reply. > > I think freedns doesn't use the IP ddclient provides. It uses the IP the request is coming from. That's what I think is happening. |