Quantcast
Channel: EdgeRouter topics
Viewing all articles
Browse latest Browse all 20028

Dynamic DNS problem edge router lite - afraid freeDNS

$
0
0

Hi All,

 

I have configure the DDNS setting in the edge router lite and was working but later I found that it is not updating... Not sure if I have misconfigure, and hope to receive advise from here..

 

When I run tail -f /var/log/messages, I get the following log,


Dec  5 23:55:10 ubnt ddclient[5269]: WARNING:   last updated <never> but last attempt on Mon Dec  5 23:54:00 2016 failed.
Dec  5 23:55:10 ubnt ddclient[5269]: WARNING:   Wait at least 5 minutes between update attempts.
Dec  5 23:56:13 ubnt ddclient[5269]: WARNING:  cannot connect to :443 socket: IO:Man Frustratedocket:Man FrustratedSL: Bad hostname '' IO:Man Frustratedocket::INET configuration failed error:00000000:lib(0):func(0):reason(0)
Dec  5 23:56:13 ubnt ddclient[5269]: FAILED:   updating xxx.mooo.com: Could not connect to .
Dec  5 23:57:13 ubnt ddclient[5269]: WARNING:  file /var/cache/ddclient/ddclient_eth0.cache, line 3: Invalid Value for keyword 'ip' = ''
Dec  5 23:57:17 ubnt ddclient[5269]: WARNING:  skipping update of xxx.mooo.com from <nothing> to 42.60.xx.xxx.
Dec  5 23:57:17 ubnt ddclient[5269]: WARNING:   last updated <never> but last attempt on Mon Dec  5 23:56:10 2016 failed.
Dec  5 23:57:17 ubnt ddclient[5269]: WARNING:   Wait at least 5 minutes between update attempts.
Dec  5 23:58:20 ubnt ddclient[5269]: WARNING:  cannot connect to :443 socket: IO:Man Frustratedocket:Man FrustratedSL: Bad hostname '' IO:Man Frustratedocket::INET configuration failed error:00000000:lib(0):func(0):reason(0)
Dec  5 23:58:20 ubnt ddclient[5269]: FAILED:   updating xxx.mooo.com: Could not connect to .
Dec  5 23:59:20 ubnt ddclient[5269]: WARNING:  file /var/cache/ddclient/ddclient_eth0.cache, line 3: Invalid Value for keyword 'ip' = ''
Dec  5 23:59:21 ubnt ddclient[5269]: WARNING:  skipping update of xxx.mooo.com from <nothing> to 42.60.xx.xxx.
Dec  5 23:59:21 ubnt ddclient[5269]: WARNING:   last updated <never> but last attempt on Mon Dec  5 23:58:17 2016 failed.
Dec  5 23:59:21 ubnt ddclient[5269]: WARNING:   Wait at least 5 minutes between update attempts.

 

I read from other thread and tried the debug command and realise that there are bad hostname which I have hightlighted in RED

 

admin@ubnt:~$ sudo /usr/sbin/ddclient -daemon=0 -debug -verbose -noquiet -file /  etc/ddclient/ddclient_eth0.conf > /tmp/ddclient.debug
Use of uninitialized value in string eq at /usr/sbin/ddclient line 3725.
Use of uninitialized value $_[1] in sprintf at /usr/sbin/ddclient line 1706.

admin@ubnt:/tmp$ cat ddclient.debug
=== opt ====
opt{cache}                           : <undefined>
opt{cmd}                             : <undefined>
opt{cmd-skip}                        : <undefined>
opt{daemon}                          : 0
opt{debug}                           : 1
opt{exec}                            : <undefined>
opt{facility}                        : <undefined>
opt{file}                            : /etc/ddclient/ddclient_eth0.conf
opt{force}                           : <undefined>
opt{foreground}                      : <undefined>
opt{fw}                              : <undefined>
opt{fw-login}                        : <undefined>
opt{fw-password}                     : <undefined>
opt{fw-skip}                         : <undefined>
opt{geturl}                          : <undefined>
opt{help}                            : <undefined>
opt{host}                            : <undefined>
opt{if}                              : <undefined>
opt{if-skip}                         : <undefined>
opt{ip}                              : <undefined>
opt{login}                           : <undefined>
opt{mail}                            : <undefined>
opt{mail-failure}                    : <undefined>
opt{max-interval}                    : 2419200
opt{min-error-interval}              : 300
opt{min-interval}                    : 30
opt{options}                         : <undefined>
opt{password}                        : <undefined>
opt{pid}                             : <undefined>
opt{postscript}                      : <undefined>
opt{priority}                        : <undefined>
opt{protocol}                        : <undefined>
opt{proxy}                           : <undefined>
opt{query}                           : <undefined>
opt{quiet}                           : 0
opt{retry}                           : <undefined>
opt{server}                          : <undefined>
opt{ssl}                             : <undefined>
opt{syslog}                          : <undefined>
opt{test}                            : <undefined>
opt{timeout}                         : <undefined>
opt{use}                             : <undefined>
opt{usev6}                           : <undefined>
opt{verbose}                         : 1
opt{web}                             : <undefined>
opt{web-skip}                        : <undefined>
=== globals ====
globals{cache}                       : /var/cache/ddclient/ddclient_eth0.cache
globals{daemon}                      : 60
globals{debug}                       : 1
globals{file}                        : /etc/ddclient/ddclient_eth0.conf
globals{if}                          : eth0
globals{login}                       : "loginname"
globals{max-interval}                : 2419200
globals{password}                    : "password"
globals{pid}                         : /var/run/ddclient/ddclient_eth0.pid
globals{protocol}                    : freedns
globals{quiet}                       : 0
globals{server}                      : freedns.afraid.org
globals{ssl}                         : 1
globals{syslog}                      : 1
globals{use}                         : if
globals{verbose}                     : 1
=== config ====
config{anchorvale.mooo.com}{atime}   : 0
config{anchorvale.mooo.com}{cacheable} : ARRAY(0x74a168)
config{anchorvale.mooo.com}{cmd}     : <undefined>
config{anchorvale.mooo.com}{cmd-skip} :
config{anchorvale.mooo.com}{fw}      :
config{anchorvale.mooo.com}{fw-login} : <undefined>
config{anchorvale.mooo.com}{fw-password} :
config{anchorvale.mooo.com}{fw-skip} :
config{anchorvale.mooo.com}{host}    : xxx.mooo.com
config{anchorvale.mooo.com}{if}      : eth0
config{anchorvale.mooo.com}{if-skip} :
config{anchorvale.mooo.com}{ip}      : <undefined>
config{anchorvale.mooo.com}{login}   : "loginname"
config{anchorvale.mooo.com}{max-interval} : 2419200
config{anchorvale.mooo.com}{min-error-interval} : 300
config{anchorvale.mooo.com}{min-interval} : 300
config{anchorvale.mooo.com}{mtime}   : 0
config{anchorvale.mooo.com}{password} : "password"
config{anchorvale.mooo.com}{protocol} : freedns
config{anchorvale.mooo.com}{server}  : freedns.afraid.org
config{anchorvale.mooo.com}{status}  :
config{anchorvale.mooo.com}{use}     : if
config{anchorvale.mooo.com}{usev6}   : <undefined>
config{anchorvale.mooo.com}{warned-min-error-interval} : 0
config{anchorvale.mooo.com}{warned-min-interval} : 0
config{anchorvale.mooo.com}{web}     : dyndns
config{anchorvale.mooo.com}{web-skip} :
config{anchorvale.mooo.com}{wtime}   : 30
=== cache ====
cache{anchorvale.mooo.com}{atime}    : 0
cache{anchorvale.mooo.com}{host}     : xxx.mooo.com
cache{anchorvale.mooo.com}{mtime}    : 0
cache{anchorvale.mooo.com}{status}   : noconnect
cache{anchorvale.mooo.com}{warned-min-error-interval} : 1480950033
cache{anchorvale.mooo.com}{warned-min-interval} : 0
cache{anchorvale.mooo.com}{wtime}    : 30
DEBUG:    get_ip: using if, eth0 reports 42.60.xx.xxx
DEBUG:
DEBUG:     nic_freedns_update -------------------
DEBUG:    proxy  =
DEBUG:    url    = http://freedns.afraid.org/api/?action=getdyndns&sha=6d7b46ee7  d9fec66576321a57c241f498620d08c
DEBUG:    server = freedns.afraid.org
CONNECT:  freedns.afraid.org
CONNECTED:  using SSL
SENDING:  GET /api/?action=getdyndns&sha=6d7b46ee7d9fec66576321a57c241f498620d08  c HTTP/1.0
SENDING:   Host: freedns.afraid.org
SENDING:   User-Agent: ddclient/3.8.3
SENDING:   Connection: close
SENDING:
RECEIVE:  HTTP/1.1 200 OK
RECEIVE:  Server: nginx
RECEIVE:  Date: Mon, 05 Dec 2016 15:01:04 GMT
RECEIVE:  Content-Type: text/plain; charset=utf-8
RECEIVE:  Connection: close
RECEIVE:  Vary: Accept-Encoding
RECEIVE:  X-Cache: MISS
RECEIVE:
RECEIVE:  xxx.mooo.com|42.60.xx.xxx|https://freedns.afraid.org/dynamic/up  date.php?eGMyQVprWE0wbllXRHI1UkxuVjlnWUF6OjE2NDY1ODk0
INFO:     setting IP address to 42.60.xx.xxx for xxx.mooo.com
UPDATE:   updating xxx.mooo.com
DEBUG:    proxy  =
DEBUG:    url    =
DEBUG:    server =
CONNECT:
WARNING:  cannot connect to :443 socket: IO:Man Frustratedocket:Man FrustratedSL: Bad hostname '' IO:Man Frustratedo  cket::INET configuration failed error:00000000:lib(0):func(0):reason(0)
FAILED:   updating xxx.mooo.com: Could not connect to .
admin@ubnt:/tmp$

 

Is there anything I have missed out?

 

Thanks !

 


Viewing all articles
Browse latest Browse all 20028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>