LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-06-2006, 01:34 AM   #1
patufet99
Member
 
Registered: Dec 2005
Location: Switzerland
Distribution: Debian/Ubuntu
Posts: 37

Rep: Reputation: 15
ddclient reporting errors frequently


I installed ddclient, as I have no fix IP address.
It works correctly and when IP changes, it is reported in the log.

Quote:
Sep 3 02:31:43 localhost ddclient[19349]: SUCCESS: updating mysite.dyndns.org: good: IP address set to xx.xx.xx.xxx
The question is why is it frequently reporting than it cannot connect to checkip.dyndns.org?

Quote:
Sep 5 21:05:32 localhost ddclient[19349]: WARNING: cannot connect to checkip.dyndns.org:80 socket: IO::Socket::INET: Bad hostname 'checkip.dyndns.org'
Here it is the /etc/ddclient.conf file:

Quote:
######################################################
# Configuration file for ddclient generated by debconf
#
# /etc/ddclient.conf
daemon=9200
#update every 3600 sec
syslog=yes
#save updates to log
########################################

pid=/var/run/ddclient.pid
protocol=dyndns2
use=web, web=checkip.dyndns.org/
server=members.dyndns.org
login=mylogin
password=mypassword
mysite.dyndns.org
Thanks for your comments!
 
Old 09-06-2006, 06:56 PM   #2
rupertwh
Member
 
Registered: Sep 2006
Location: Munich, Germany
Distribution: Debian / Ubuntu
Posts: 297

Rep: Reputation: 49
Hi,

is your Internet connection always on? If not, then that would explain the errors. (How to resolve the name, when you're offline)

In that case you could either run ddclient from ip-up script instead of daemon mode, or simply ignore the messages.

Rupert
 
Old 09-07-2006, 01:10 AM   #3
patufet99
Member
 
Registered: Dec 2005
Location: Switzerland
Distribution: Debian/Ubuntu
Posts: 37

Original Poster
Rep: Reputation: 15
Thanks for your comment.

The connection is in principle always on.
If it is regularly interrupted for any reason, should the event be logged in any file?

Thanks for the help.
 
Old 10-16-2006, 11:04 PM   #4
intermod
LQ Newbie
 
Registered: Oct 2003
Location: Pleasanton, CA USA
Posts: 13

Rep: Reputation: 0
I get the same problem running ddclient 3.6.3. I tried a bit or troubleshooting but this looks fine:

[root@hosebag root]# ddclient -daemon=0 -debug -verbose -noquiet

cashe(...
...
cache{hosebag.kicks-ass.net}{wtime} : 0
CONNECT: checkip.dyndns.org
CONNECTED:
SENDING: GET / HTTP/1.0
SENDING: Host: checkip.dyndns.org
SENDING: User-Agent: ddclient/3.6.3
SENDING: Connection: close
SENDING:
RECEIVE: HTTP/1.1 200 OK
RECEIVE: Content-Type: text/html
RECEIVE: Server: DynDNS-CheckIP/0.1
RECEIVE: Connection: close
RECEIVE: Cache-Control: no-cache
RECEIVE: Pragma: no-cache
RECEIVE: Content-Length: 106
RECEIVE:
RECEIVE: <html><head><title>Current IP Check</title></head><body>Current IP Address: 24.12.133.135</body></html>
DEBUG: get_ip: using web, http://checkip.dyndns.org/ reports 24.12.133.135
SUCCESS: hosebag.kicks-ass.net: skipped: IP address was already set to 24.12.133.135.

Always-on connection.

greg
 
Old 10-18-2009, 11:12 PM   #5
OldenK
LQ Newbie
 
Registered: Dec 2007
Location: Iowa
Distribution: Fedora
Posts: 4

Rep: Reputation: 0
Solved

Quote:
Originally Posted by patufet99 View Post
I installed ddclient, as I have no fix IP address.
It works correctly and when IP changes, it is reported in the log.



The question is why is it frequently reporting than it cannot connect to checkip.dyndns.org?



Here it is the /etc/ddclient.conf file:



Thanks for your comments!


enable service network then restart ddclient
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ddclient Reporting LAN Address Chryzmo Linux - Networking 5 12-24-2005 11:11 PM
MySQLd reporting fatal errors bcf2 Linux - Software 0 07-13-2005 04:29 PM
ddclient socks Linux - Software 5 10-17-2004 02:36 AM
frequently gcc errors just recently? breadbin Linux - Software 0 06-22-2003 03:00 PM
I need help with 'ddclient' hecresper *BSD 3 05-06-2003 05:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration