Hi,

Thanks, I try to explain full details:

I have 2 free DDNS providers: Changeip (configured from GUI) and Afraid.org 
(configured in a custom script executed after boot from /mnt/kd/rc.local).

Apparently both are working fine and everytime there's an IP address change 
both domains are updated, but while there's no IP change after each check the 
first one is flooding logs with error messages showing it tries to update 
domain with a void IP field:

"Feb  1 18:27:42 astlinux daemon.notice ddclient[2135]: WARNING:  SENT:    
http://nic.changeip.com/nic/update/nic/update?hostname=domain.changeip.org&ip=
Feb  1 18:27:42 astlinux daemon.notice ddclient[2135]: WARNING:  REPLIED: 506 
Invalid IP address submitted.  Check syntax.
Feb  1 18:27:42 astlinux daemon.notice ddclient[2135]: FAILED:   updating 
domain.changeip.org: Invalid reply."

(*) Note the first log line in which the IP field sent at the end of the URL is 
void


If I look at the file /var/db/ddclient.cache generated by first ddclient 
daemon, the IP field is missing:

"## ddclient-3.8.3-07
## last updated at Mon Feb  1 18:32:42 2021 (1612200762)
atime=1612200762,host=domain.changeip.org,mtime=0,status=failed,status-ipv6=,warned-min-error-interval=0,warned-min-interval=0,wtime=0
 domain.changeip.org"

And if I look at the file /var/db/ddclient_2.cache generated by the second 
ddclient daemon the IP field is present:

"## ddclient-3.8.3-07
## last updated at Sun Jan 31 15:41:32 2021 (1612104092)
atime=0,host=domain.privatedns.org,ip=XXX.XXX.XXX.XXX,mtime=1612103790,status=good,status-ipv6=,warned-min-error-interval=0,warned-min-interval=0,wtime=30
 domain.privatedns.org"


I'm not sure if the problem is exactly the same but I found this link reporting 
very similar behaviour which seems solved in latest ddclient versions:

https://github.com/linuxserver/docker-ddclient/issues/11


Regards.
------------------

> On Jan 31, 2021, at 9:14 AM, Gonzalo Ib??ez <goniba...@hotmail.com> wrote:
>
> Hi,
>
> Any chance of getting ddclient updated (v3.9.1 is the latest) on next 
> astlinux release?
>
> I'm getting some errors with some domain providers (ex. Changeip) because of 
> ddclient sending a void IP address when trying to perform domain updates and 
> I've read there've been some changes on APIs which should be included on 
> latest version.

Hi Gonzalo,

Can you describe your errors in more detail.

We don't use the original ddclient, but rather a fork that uses curl:

https://github.com/astlinux-project/ddclient-curl

If you find the fix in the original ddclient we can look at back-porting it to 
ours.

Lonnie




------------------------------



------------------------------

Subject: Digest Footer

_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users


------------------------------

End of Astlinux-users Digest, Vol 174, Issue 1
**********************************************
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to