Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DynDNS stopped working

All of the sudden my DynDNS stopped working. The logfile says:



The DynDNS Config says:



What confuses me is the "Jan 1 01:00:00 1970".
And from any internal computer I can connect to freedns.afraid.org:443 and also open the URL http://freedns.afraid.org/api/?action=getdyndns&sha=421d...

So whats happening here? Any Ideas? 

Dino


This thread was automatically locked due to age.
  • Seems there is something broken in the config.

    Have you already tried disabling and reenabling the DynDNS object?
    Did you try tro restart th UTM?

    If that doesn't help, you might try to delete the DynDNS object and create a new one...

    edit: Just realized the first log line: it's complaining about IPv6. Do you use IPv6?
  • I have disabled and reenabled the DynDNS object, and I also rebooted the UTM. Nothing worked.
    And I don't use IPv6, so it's deactivated.

    Deleting the DynDNS Object would be my next step, but first I wanted to ask here for suggestions. If it works after deleting and recreating it would be very hard to track down the cause why this happened.

    EDIT: Deleting and recreating doesn't work either [:(] Same errors.
  • Which exact Firmware are you using?

    There was a bug with FreeDNS up to 9.105 iirc.

    One more question: Are you able to open http://checkip.dyndns.org/ in you browser? Does it give you your current IP?
  • Do you have uppercase letters in your FreeDNS user name? This is related to the bug I mentioned: https://community.sophos.com/products/unified-threat-management/astaroorg/f/53/p/34068/115741#115741
  • It started yesterday morning. Here is the logfile:

    2013:10:27-06:01:02 remote ddclient[12184]: FAILED: updating ***xx.******.xx: Invalid reply.
    2013:10:27-06:06:02 remote ddclient[12184]: WARNING: file /var/cache/ddclient/ddclient.cache, line 4: Invalid Value for keyword 'ip' = ''
    2013:10:27-06:06:02 remote ddclient[12184]: WARNING: file /var/cache/ddclient/ddclient.cache, line 5: Invalid Value for keyword 'ip' = ''
    2013:10:27-06:06:02 remote ddclient[12184]: WARNING: file /var/cache/ddclient/ddclient.cache, line 6: Invalid Value for keyword 'ip' = ''
    2013:10:27-06:06:02 remote ddclient[12184]: WARNING: file /var/cache/ddclient/ddclient.cache, line 8: Invalid Value for keyword 'ip' = ''
    2013:10:27-06:06:02 remote ddclient[12184]: WARNING: file /var/cache/ddclient/ddclient.cache, line 9: Invalid Value for keyword 'ip' = ''
    2013:10:27-06:07:07 remote ddclient[12184]: WARNING: cannot connect to freedns.afraid.org:443 socket: IO::Socket::SSL: SSL connect attempt failed because of handshake problems SSL wants a read first IO::Socket::INET6 configuration failed SSL connect attempt failed because of handshake problems SSL wants a read first
    2013:10:27-06:07:07 remote ddclient[12184]: FAILED: updating ***xx.******.xx: Could not connect to http://freedns.afraid.org/api/?action=getdyndns&sha=421d1eb32d163edf549546c for site list.
    2013:10:27-06:12:07 remote ddclient[12184]: WARNING: file /var/cache/ddclient/ddclient.cache, line 4: Invalid Value for keyword 'ip' = ''
    2013:10:27-06:12:07 remote ddclient[12184]: WARNING: file /var/cache/ddclient/ddclient.cache, line 5: Invalid Value for keyword 'ip' = ''
    2013:10:27-06:12:07 remote ddclient[12184]: WARNING: file /var/cache/ddclient/ddclient.cache, line 6: Invalid Value for keyword 'ip' = ''
    2013:10:27-06:12:07 remote ddclient[12184]: WARNING: file /var/cache/ddclient/ddclient.cache, line 8: Invalid Value for keyword 'ip' = ''
    2013:10:27-06:12:07 remote ddclient[12184]: WARNING: file /var/cache/ddclient/ddclient.cache, line 9: Invalid Value for keyword 'ip' = ''
    2013:10:27-06:14:08 remote ddclient[12184]: WARNING: cannot connect to freedns.afraid.org:443 socket: IO::Socket::SSL: connect: timeout IO::Socket::INET6 configuration failed
    2013:10:27-06:14:08 remote ddclient[12184]: FAILED: updating ***xx.******.xx: Could not connect to http://freedns.afraid.org/api/?action=getdyndns&sha=421d1eb32d163edf549546c for site list.


    Seems like a SSL problem. Any Idea?
    Again: IPv6 is and was disabled.
  • Deleting the "ddclient.cache" didn't help, too [:(]
  • This night it suddenly started working again:


    06:25:05 ddclient[28232]: WARNING:  file /var/cache/ddclient/ddclient.cache, line 4: Invalid Value for keyword 'ip' = ''
    
    06:25:05 ddclient[28232]: WARNING:  file /var/cache/ddclient/ddclient.cache, line 5: Invalid Value for keyword 'ip' = ''
    06:25:05 ddclient[28232]: WARNING:  file /var/cache/ddclient/ddclient.cache, line 6: Invalid Value for keyword 'ip' = ''
    06:25:05 ddclient[28232]: WARNING:  file /var/cache/ddclient/ddclient.cache, line 7: Invalid Value for keyword 'ip' = ''
    06:25:06 ddclient[28232]: WARNING:  cannot connect to freedns.afraid.org:443 socket: IO::Socket::SSL: connect: Network is unreachable IO::Socket::INET6 configuration failed
    06:25:06 ddclient[28232]: FAILED:   updating *********.***x.xx: Could not connect to freedns.afraid.org/.../.
    06:30:06 ddclient[28232]: WARNING:  file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
    06:30:06 ddclient[28232]: WARNING:  file /var/cache/ddclient/ddclient.cache, line 4: Invalid Value for keyword 'ip' = ''
    06:30:06 ddclient[28232]: WARNING:  file /var/cache/ddclient/ddclient.cache, line 5: Invalid Value for keyword 'ip' = ''
    06:30:06 ddclient[28232]: WARNING:  file /var/cache/ddclient/ddclient.cache, line 6: Invalid Value for keyword 'ip' = ''
    06:30:06 ddclient[28232]: WARNING:  file /var/cache/ddclient/ddclient.cache, line 7: Invalid Value for keyword 'ip' = ''
    06:30:09 ddclient[28232]: SUCCESS:  updating ******xx.***x.xx: good: IP address set to 91.***.***.***
    06:30:12 ddclient[28232]: SUCCESS:  updating ******xx.***.xx: good: IP address set to 91.***.***.***
    06:30:14 ddclient[28232]: SUCCESS:  updating ******xx.xx.xx: good: IP address set to 91.***.***.***
    06:30:15 ddclient[28232]: SUCCESS:  updating xx.******.***: good: IP address set to 91.***.***.***
    06:30:16 ddclient[28232]: SUCCESS:  updating xx.******x.***: good: IP address set to 91.***.***.***



    I still have no clue why [:S]
  • I would like to cooperate with this threat throwing some data I'm seen at my UTM 120.

    The ddclient process is obliterating one CPU:
    # top
    
    (...)
      PID USER      PR  NI  VIRT  RES  SHR S   %CPU %MEM    TIME+  COMMAND
     3588 root      20   0 14256 9860 2420 R    100  0.5 886:02.26 ddclient


    There is some infinite looping in the library code:
    # strace -p 3588 -s 256
    
    (...)
    write(2, "Use of uninitialized value $fam_listen in numeric ne (!=) at /usr/local/ap510/site/lib/IO/Socket/INET6.pm line 226.\n", 116) = 116
    write(2, "Use of uninitialized value $fam_listen in numeric ne (!=) at /usr/local/ap510/site/lib/IO/Socket/INET6.pm line 226.\n", 116) = 116
    write(2, "Use of uninitialized value $fam_listen in numeric ne (!=) at /usr/local/ap510/site/lib/IO/Socket/INET6.pm line 226.\n", 116) = 116
    (...)


    ddclient logs from yesterday (there is no log for today)

    2013:10:29-20:42:15 mm ddclient[3588]: WARNING:
    2013:10:29-20:42:15 mm ddclient[3588]: WARNING:   ERROR: Address ***.***.***.***
    2013:10:29-20:42:15 mm ddclient[3588]: FAILED:   updating ***xx.***xx.***: Invalid reply.
    2013:10:29-20:47:15 mm ddclient[3588]: WARNING:  file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
    2013:10:29-20:47:22 mm ddclient[3588]: WARNING:  SENT: freedns.afraid.org/.../update.php
    2013:10:29-20:47:22 mm ddclient[3588]: WARNING:  REPLIED: HTTP/1.1 200 OK
    2013:10:29-20:47:22 mm ddclient[3588]: WARNING:   Server: nginx
    2013:10:29-20:47:22 mm ddclient[3588]: WARNING:   Date: Tue, 29 Oct 2013 22:47:21 GMT
    2013:10:29-20:47:22 mm ddclient[3588]: WARNING:   Content-Type: text/plain
    2013:10:29-20:47:22 mm ddclient[3588]: WARNING:   Content-Length: 47
    2013:10:29-20:47:22 mm ddclient[3588]: WARNING:   Connection: close
    2013:10:29-20:47:22 mm ddclient[3588]: WARNING:   Vary: Accept-Encoding
    2013:10:29-20:47:22 mm ddclient[3588]: WARNING:
    2013:10:29-20:47:22 mm ddclient[3588]: WARNING:   ERROR: Address 187.15.208.209 has not changed.
    2013:10:29-20:47:22 mm ddclient[3588]: FAILED:   updating ***xx.***xx.***: Invalid reply.
    2013:10:29-20:52:22 mm ddclient[3588]: WARNING:  file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
    2013:10:29-20:52:25 mm ddclient[3588]: SUCCESS:  updating ***xx.***xx.***: good: IP address set to ***.***.***.***


    My username doesn't have any uppercase letter.

    This can be seen in a couple of hours after enabling the freedns updater.

    Hope it helps!