https://bugs.koozali.org/show_bug.cgi?id=12306

            Bug ID: 12306
           Summary: With Multi domains the second update fails
    Classification: Contribs
           Product: SME Contribs
           Version: 10.0
          Hardware: ---
                OS: ---
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-ddclient
          Assignee: contribteam@lists.contribs.org
          Reporter: bri...@bjsystems.co.uk
        QA Contact: contribteam@lists.contribs.org
  Target Milestone: ---

admin email showing issue with multiple domains, or is it just noiuse..see
below for email details, IP seems to be updated OK however

[root@fagehome ~]# rpm -q ddclient
ddclient-3.10.0-1.el7.sme.noarch

[root@fagehome ~]# systemctl -l status ddclient.service
● ddclient.service - A Perl Client Used To Update Dynamic DNS
   Loaded: loaded (/usr/lib/systemd/system/ddclient.service; enabled; vendor
preset: enabled)
  Drop-In: /usr/lib/systemd/system/ddclient.service.d
           └─50koozali.conf
   Active: active (running) since Mon 2022-11-21 14:36:51 AEDT; 19h ago
  Process: 1595 ExecStart=/usr/sbin/ddclient -file /etc/ddclient/ddclient.conf
-nodebug -verbose -noquiet -nosyslog -pid /var/run/ddclient/ddclient.pid
(code=exited, status=0/SUCCESS)
  Process: 1558 ExecStartPre=/bin/touch /var/cache/ddclient/ddclient.cache
(code=exited, status=0/SUCCESS)
 Main PID: 1749 (ddclient - slee)
   Memory: 9.1M
   CGroup: /system.slice/ddclient.service
           └─1749 ddclient - sleeping for 830 second

Nov 21 14:36:49 fagehome.tfage.dyndns.org systemd[1]: Starting A Perl Client
Used To Update Dynamic DNS...
Nov 21 14:36:51 fagehome.tfage.dyndns.org systemd[1]: Started A Perl Client
Used To Update Dynamic DNS.

[root@fagehome ~]# config show ddclient
ddclient=service
    DeamonUpdate=7200
    Extinterface=
    ForceIP=
    SSL=no
    cmd=
    debug=disabled
    mailSuccess=none
    method=web
    status=enabled
    syslog=no
    urlcheckip=checkip.amazonaws.com
    verbose=enabled



CONNECT:  checkip.amazonaws.com
CONNECTED:  using HTTP
SENDING:  GET / HTTP/1.1
SENDING:  Host: checkip.amazonaws.com
SENDING:  User-Agent: ddclient/3.10.0
SENDING:  Connection: close
SENDING:  
RECEIVE:  HTTP/1.1 200 OK
RECEIVE:  Date: Mon, 21 Nov 2022 21:37:48 GMT
RECEIVE:  Server: lighttpd/1.4.53
RECEIVE:  Content-Length: 15
RECEIVE:  Connection: Close
RECEIVE:  
RECEIVE:  115.166.36.108
SUCCESS:  tfage.homeip.net: skipped: IP address was already set to
115.166.36.108.
INFO:     setting IP address to 115.166.36.108 for tfage.dyndns.org
UPDATE:   updating tfage.dyndns.org
CONNECT:  members.dyndns.org
CONNECTED:  using HTTP
SENDING:  GET
/nic/update?system=dyndns&hostname=tfage.dyndns.org&myip=115.166.36.108&wildcard=ON
HTTP/1.1
SENDING:  Host: members.dyndns.org
SENDING:  Authorization: Basic dHJleDE1MTI6dGYyMjA5MTc=
SENDING:  User-Agent: ddclient/3.10.0
SENDING:  Connection: close
SENDING:  
RECEIVE:  HTTP/1.1 200 OK
RECEIVE:  Date: Mon, 21 Nov 2022 21:37:49 GMT
RECEIVE:  Server: Apache/2.4.18 (Ubuntu)
RECEIVE:  X-UpdateCode: n
RECEIVE:  Vary: Accept-Encoding
RECEIVE:  Content-Type: text/plain
RECEIVE:  Accept-Ranges: none
RECEIVE:  X-User-Status: vip
RECEIVE:  Connection: close
RECEIVE:  Transfer-Encoding: chunked
RECEIVE:  
RECEIVE:  14
RECEIVE:  nochg 115.166.36.108
RECEIVE:  0
RECEIVE:  
FAILED:   updating tfage.dyndns.org: unexpected status (14)
WARNING:  updating : nochg: No update required; unnecessary attempts to change
to the current address are considered abusive
FAILED:   updating : unexpected status (0)
FAILED:    was not updated because protocol <undefined> is not supported.


regards,
   ddcli...@fagehome.tfage.dyndns.org (version 3.10.0)

it appears the email is generated by the updaing of the IP whenever you save
the config in server-manager


as the IP check is returning a FAIL of one of the domains, the
mail-failure=admin setting in the *.conf file is firing, and I get the status
update as shown, this is not right as the two domains are at same place dyndns,
if the first check is good other domain should also return good, it does not..

Have tried removong second domain and all good..so its just with multi domain
checks

Of course simple fix is disable the mail-failure=admin setting, but I do prefer
to be notofied when and update is not good..

on this the IP is not chganging, is happening apart from when saving etc..

see the status report I posted belwo and the FAILED this

RECEIVE:  115.166.36.108
SUCCESS:  tfage.homeip.net: skipped: IP address was already set to
115.166.36.108.
INFO:     setting IP address to 115.166.36.108 for tfage.dyndns.org
UPDATE:   updating tfage.dyndns.org
CONNECT:  members.dyndns.org
CONNECTED:  using HTTP
SENDING:  GET
/nic/update?system=dyndns&hostname=tfage.dyndns.org&myip=115.166.36.108&wildcard=ON
HTTP/1.1
SENDING:  Host: members.dyndns.org
SENDING:  Authorization: Basic dHJleDE1MTI6dGYyMjA5MTc=
SENDING:  User-Agent: ddclient/3.10.0
SENDING:  Connection: close
SENDING:  
RECEIVE:  HTTP/1.1 200 OK
RECEIVE:  Date: Mon, 21 Nov 2022 21:37:49 GMT
RECEIVE:  Server: Apache/2.4.18 (Ubuntu)
RECEIVE:  X-UpdateCode: n
RECEIVE:  Vary: Accept-Encoding
RECEIVE:  Content-Type: text/plain
RECEIVE:  Accept-Ranges: none
RECEIVE:  X-User-Status: vip
RECEIVE:  Connection: close
RECEIVE:  Transfer-Encoding: chunked
RECEIVE:  
RECEIVE:  14
RECEIVE:  nochg 115.166.36.108
RECEIVE:  0
RECEIVE:  
FAILED:   updating tfage.dyndns.org: unexpected status (14)
WARNING:  updating : nochg: No update required; unnecessary attempts to change
to the current address are considered abusive
FAILED:   updating : unexpected status (0)
FAILED:    was not updated because protocol <undefined> is not supported.

it validated the homeip.net domain and IP as no change, then seems to attempt
to update the tfage.dyndns.org domai

*.conf file, now have both mail entries remmed out 

#------------------------------------------------------------

daemon=7200                                    # check every 7200 seconds
syslog=yes                                     # log update msgs to syslog
pid=/var/run/ddclient.pid                      # record PID in file.
ssl=no                                        # Set SSL

# mail=
# mail-failure=admin

use=web, web=checkip.amazonaws.com/, web-skip='IP Address:' 


##
## dyndns.org dynamic addresses
##
server=members.dyndns.org, \
protocol=dyndns2, \
static=no, \
wildcard=yes, \
custom=no, \
login=####, \
password=#### \
tfage.dyndns.org
##
##
##
## dyndns.org dynamic addresses
##
server=members.dyndns.org, \
protocol=dyndns2, \
static=no, \
wildcard=yes, \
custom=no, \
login=####, \
password=#### \
tfage.homeip.net
##
##

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to