Skip site navigation (1)Skip section navigation (2)
Date:      16 Jul 2002 21:38:08 +0100
From:      Stacey Roberts <sroberts@dsl.pipex.com>
To:        FreeBSD-Questions <freebsd-questions@freebsd.org>
Subject:   ddclient error messages in /var/log/messages
Message-ID:  <1026851889.55073.18.camel@Demon.vickiandstacey.com>

next in thread | raw e-mail | index | archive | help

--=-8aeP2A0by4v7R1TVIh+k
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,
  I know that this might be a bit off topic, but forgive me.

I've got ddclient installed on a FreeBSD 4.6 Stable system on my home
gateway. The installation appeared to go well (eventually) and I now
have ddclient running in daemon mode:
# ps
  PID  TT  STAT      TIME COMMAND
39163  p0  S      0:00.11 _su (csh)
39307  p0  R+     0:00.00 ps
  214  v0  Is     0:00.03 login -p <snip>
  215  v1  Is+    0:00.01 /usr/libexec/getty Pc ttyv1
  216  v2  Is+    0:00.01 /usr/libexec/getty Pc ttyv2
  217  v3  Is+    0:00.01 /usr/libexec/getty Pc ttyv3
  218  v4  Is+    0:00.01 /usr/libexec/getty Pc ttyv4
  219  v5  Is+    0:00.01 /usr/libexec/getty Pc ttyv5
  220  v6  Is+    0:00.01 /usr/libexec/getty Pc ttyv6
  221  v7  Is+    0:00.01 /usr/libexec/getty Pc ttyv7
  201 con- I+     0:16.67 /usr/bin/perl -w /usr/local/sbin/ddclient
-daemon 300
#=20

However, I've noticed regular postings of the following warning messages
in /var/log/messages:
~ $ tail /var/log/messages
Jul 16 16:22:52 Demon ddclient[201]: WARNING:  cannot connect to
checkip.dyndns.org:80 socket: IO::Socket::INET: Bad hostname
'checkip.dyndns.org'=20

I also get regular mail from ddclient with the same message sent to root
as well.

I can manually the ddclient script and it *does* get my IP address:
# ddclient -daemon=3D0 -query --noquiet
use=3Dif, if=3Dsis0: address is NOT FOUND
use=3Dif, if=3Dlp0: address is NOT FOUND
use=3Dif, if=3Dlo0: address is NOT FOUND
use=3Dif, if=3Dppp0: address is NOT FOUND
use=3Dif, if=3Dsl0: address is NOT FOUND
use=3Dif, if=3Dfaith0: address is NOT FOUND
use=3D3com-3c886a address is NOT FOUND
use=3Dalcatel-stp address is NOT FOUND
use=3Delsa-lancom-dsl10 address is NOT FOUND
use=3Delsa-lancom-dsl10-ch01 address is NOT FOUND
use=3Delsa-lancom-dsl10-ch02 address is NOT FOUND
use=3Dlinksys address is NOT FOUND
use=3Dmaxgate-ugate3x00 address is NOT FOUND
use=3Dnetgear-rt3xx address is NOT FOUND
use=3Dnetopia-r910 address is NOT FOUND
use=3Dsmc-barricade address is NOT FOUND
use=3Dsohoware-nbg800 address is NOT FOUND
use=3Dwatchguard-soho address is NOT FOUND
use=3Dxsense-aero address is NOT FOUND
use=3Dfw, fw=3D192.168.1.1:80 address is NOT FOUND
use=3Dweb, web=3Ddyndns address is <my.ext.IPAddr>
use=3Dweb, web=3Dcheckip.dyndns.org/ address is <my.ext.IPAddr>
#

Does anyone know what this means? Thanks to all that might respond.

Stacey


Here's my ddclient.conf file for your perusal:
# cat /usr/local/etc/ddclient.conf
######################################################################
##=20
## Define default global variables with lines like:
## 	var=3Dvalue [, var=3Dvalue]*
## These values will be used for each following host unless overridden
## with a local variable definition.
##
## Define local variables for one or more hosts with:
## 	var=3Dvalue [, var=3Dvalue]* host.and.domain[,host2.and.domain...]
##
## Lines can be continued on the following line by ending the line
## with a \
##
######################################################################
fw-login=3Dadmin
fw-password=3D<snip>
daemon=3D300					# check every 300 seconds
syslog=3Dyes					# log update msgs to syslog
mail=3Droot					# mail update msgs to root
pid=3D/var/run/ddclient.pid			# record PID in file.
#
#use=3Dwatchguard-soho,        fw=3D192.168.111.1:80	# via Watchguard's SOH=
O
FW
#use=3Dnetopia-r910,           fw=3D192.168.111.1:80	# via Netopia R910 FW
use=3Dsmc-barricade,          fw=3D192.168.1.1:80	# via SMC's Barricade FW
#use=3Dnetgear-rt3xx,          fw=3D192.168.0.1:80		# via Netgear's interne=
t
FW
#use=3Dlinksys,                fw=3D192.168.1.1:80		# via Linksys's interne=
t
FW
#use=3Dmaxgate-ugate3x00,      fw=3D192.168.0.1:80		# via MaxGate's
UGATE-3x00  FW
#use=3Delsa-lancom-dsl10,      fw=3D10.0.0.254:80		# via ELSA LanCom DSL/10
DSL Router
#use=3Delsa-lancom-dsl10-ch01, fw=3D10.0.0.254:80		# via ELSA LanCom DSL/10
DSL Router
#use=3Delsa-lancom-dsl10-ch02, fw=3D10.0.0.254:80		# via ELSA LanCom DSL/10
DSL Router
#use=3Dalcatel-stp,            fw=3D10.0.0.138:80           # via Alcatel
Speed Touch Pro
#use=3Dxsense-aero,            fw=3D192.168.1.1:80          # via Xsense
Aero Router#fw-login=3D<snip>,             fw-password=3D<snip>		# FW login
and password
#
## To obtain an IP address from FW status page (using fw-login,
fw-password)
# use=3Dfw, fw=3D192.168.1.1/doc/setuph.htm, fw-skip=3D'IP Address' # found
after IP Address
#
## To obtain an IP address from Web status page (using the proxy if
defined)
use=3Dweb, web=3Dcheckip.dyndns.org/, web-skip=3D'Current IP Address' # fou=
nd
after IP Address
#
#use=3Dip,                     ip=3D127.0.0.1	# via static IP's
#use=3Dif,                     if=3Dsis0		# via interfaces
#use=3Dweb					# via web
#
#protocol=3Ddyndns2				# default protocol
#proxy=3Dfasthttp.sympatico.ca:80			# default proxy
#server=3Dmembers.dyndns.org			# default server
#server=3Dmembers.dyndns.org:8245			# default server (bypassing proxies)

#login=3Dyour-login				# default login
#password=3Dtest					# default password
#mx=3Dmx.for.your.host				# default MX
#backupmx=3Dyes|no				# host is primary MX?
#wildcard=3Dyes|no				# add wildcard CNAME?

##
## dyndns.org dynamic addresses
##
## (supports variables: wildcard,mx,backupmx)
##
# server=3Dmembers.dyndns.org,		\
# protocol=3Ddyndns2			\
# your-dynamic-host.dyndns.org

##
## dyndns.org static addresses
##
## (supports variables: wildcard,mx,backupmx)
##
# static=3Dyes				\
# server=3Dmembers.dyndns.org,		\
# protocol=3Ddyndns2			\
# your-static-host.dyndns.org

##
##
## dyndns.org custom addresses
##
## (supports variables: wildcard,mx,backupmx)
##
# custom=3Dyes				\
# server=3Dmembers.dyndns.org,		\
# protocol=3Ddyndns2			\
# your-domain.top-level,your-other-domain.top-level

##
## ZoneEdit (zoneedit.com)
##
server=3Dwww.zoneedit.com, 		\
protocol=3Dzoneedit1,			\
login=3D<snip>  		\
password=3D<snip>	\
<my.domainname>

##
## EasyDNS (easydns.com)
##
# server=3Dmembers.easydns.com, 		\
# protocol=3Deasydns,			\
# login=3Dyour-easydns-login,  		\
# password=3Dyour-easydns-password	\
# your.any.domain,your-2nd.any.domain

##
## Hammernode (hn.org) dynamic addresses
##
# server=3Ddup.hn.org,             	\
# protocol=3Dhammernode1,         	\
# login=3Dyour-hn-login,           	\
# password=3Dyour-hn-password      	\
# your-hn-host.hn.org,your-2nd-hn-host.hn.org

##
## dslreports.com dynamic-host monitoring
##
# server=3Dmembers.dslreports.com		\
# protocol=3Ddslreports1,			\
# login=3Ddslreports-login,		\
# password=3Ddslreports-password		\
# dslreports-unique-id
#


--=20
Stacey Roberts B.Sc. (HONS) Computer Science
Network Systems Engineer

--=-8aeP2A0by4v7R1TVIh+k
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,
  I know that this might be a bit off topic, but forgive me.

I've got ddclient installed on a FreeBSD 4.6 Stable system on my home
gateway. The installation appeared to go well (eventually) and I now
have ddclient running in daemon mode:
# ps
  PID  TT  STAT      TIME COMMAND
39163  p0  S      0:00.11 _su (csh)
39307  p0  R+     0:00.00 ps
  214  v0  Is     0:00.03 login -p <snip>
  215  v1  Is+    0:00.01 /usr/libexec/getty Pc ttyv1
  216  v2  Is+    0:00.01 /usr/libexec/getty Pc ttyv2
  217  v3  Is+    0:00.01 /usr/libexec/getty Pc ttyv3
  218  v4  Is+    0:00.01 /usr/libexec/getty Pc ttyv4
  219  v5  Is+    0:00.01 /usr/libexec/getty Pc ttyv5
  220  v6  Is+    0:00.01 /usr/libexec/getty Pc ttyv6
  221  v7  Is+    0:00.01 /usr/libexec/getty Pc ttyv7
  201 con- I+     0:16.67 /usr/bin/perl -w /usr/local/sbin/ddclient
- -daemon 300
#=20

However, I've noticed regular postings of the following warning messages
in /var/log/messages:
~ $ tail /var/log/messages
Jul 16 16:22:52 Demon ddclient[201]: WARNING:  cannot connect to
checkip.dyndns.org:80 socket: IO::Socket::INET: Bad hostname
'checkip.dyndns.org'=20

I also get regular mail from ddclient with the same message sent to root
as well.

I can manually the ddclient script and it *does* get my IP address:
# ddclient -daemon=3D0 -query --noquiet
use=3Dif, if=3Dsis0: address is NOT FOUND
use=3Dif, if=3Dlp0: address is NOT FOUND
use=3Dif, if=3Dlo0: address is NOT FOUND
use=3Dif, if=3Dppp0: address is NOT FOUND
use=3Dif, if=3Dsl0: address is NOT FOUND
use=3Dif, if=3Dfaith0: address is NOT FOUND
use=3D3com-3c886a address is NOT FOUND
use=3Dalcatel-stp address is NOT FOUND
use=3Delsa-lancom-dsl10 address is NOT FOUND
use=3Delsa-lancom-dsl10-ch01 address is NOT FOUND
use=3Delsa-lancom-dsl10-ch02 address is NOT FOUND
use=3Dlinksys address is NOT FOUND
use=3Dmaxgate-ugate3x00 address is NOT FOUND
use=3Dnetgear-rt3xx address is NOT FOUND
use=3Dnetopia-r910 address is NOT FOUND
use=3Dsmc-barricade address is NOT FOUND
use=3Dsohoware-nbg800 address is NOT FOUND
use=3Dwatchguard-soho address is NOT FOUND
use=3Dxsense-aero address is NOT FOUND
use=3Dfw, fw=3D192.168.1.1:80 address is NOT FOUND
use=3Dweb, web=3Ddyndns address is <my.ext.IPAddr>
use=3Dweb, web=3Dcheckip.dyndns.org/ address is <my.ext.IPAddr>
#

Does anyone know what this means? Thanks to all that might respond.

Stacey


Here's my ddclient.conf file for your perusal:
# cat /usr/local/etc/ddclient.conf
######################################################################
##=20
## Define default global variables with lines like:
## 	var=3Dvalue [, var=3Dvalue]*
## These values will be used for each following host unless overridden
## with a local variable definition.
##
## Define local variables for one or more hosts with:
## 	var=3Dvalue [, var=3Dvalue]* host.and.domain[,host2.and.domain...]
##
## Lines can be continued on the following line by ending the line
## with a \
##
######################################################################
fw-login=3Dadmin
fw-password=3D<snip>
daemon=3D300					# check every 300 seconds
syslog=3Dyes					# log update msgs to syslog
mail=3Droot					# mail update msgs to root
pid=3D/var/run/ddclient.pid			# record PID in file.
#
#use=3Dwatchguard-soho,        fw=3D192.168.111.1:80	# via Watchguard's SOH=
O
FW
#use=3Dnetopia-r910,           fw=3D192.168.111.1:80	# via Netopia R910 FW
use=3Dsmc-barricade,          fw=3D192.168.1.1:80	# via SMC's Barricade FW
#use=3Dnetgear-rt3xx,          fw=3D192.168.0.1:80		# via Netgear's interne=
t
FW
#use=3Dlinksys,                fw=3D192.168.1.1:80		# via Linksys's interne=
t
FW
#use=3Dmaxgate-ugate3x00,      fw=3D192.168.0.1:80		# via MaxGate's
UGATE-3x00  FW
#use=3Delsa-lancom-dsl10,      fw=3D10.0.0.254:80		# via ELSA LanCom DSL/10
DSL Router
#use=3Delsa-lancom-dsl10-ch01, fw=3D10.0.0.254:80		# via ELSA LanCom DSL/10
DSL Router
#use=3Delsa-lancom-dsl10-ch02, fw=3D10.0.0.254:80		# via ELSA LanCom DSL/10
DSL Router
#use=3Dalcatel-stp,            fw=3D10.0.0.138:80           # via Alcatel
Speed Touch Pro
#use=3Dxsense-aero,            fw=3D192.168.1.1:80          # via Xsense
Aero Router#fw-login=3D<snip>,             fw-password=3D<snip>		# FW login
and password
#
## To obtain an IP address from FW status page (using fw-login,
fw-password)
# use=3Dfw, fw=3D192.168.1.1/doc/setuph.htm, fw-skip=3D'IP Address' # found
after IP Address
#
## To obtain an IP address from Web status page (using the proxy if
defined)
use=3Dweb, web=3Dcheckip.dyndns.org/, web-skip=3D'Current IP Address' # fou=
nd
after IP Address
#
#use=3Dip,                     ip=3D127.0.0.1	# via static IP's
#use=3Dif,                     if=3Dsis0		# via interfaces
#use=3Dweb					# via web
#
#protocol=3Ddyndns2				# default protocol
#proxy=3Dfasthttp.sympatico.ca:80			# default proxy
#server=3Dmembers.dyndns.org			# default server
#server=3Dmembers.dyndns.org:8245			# default server (bypassing proxies)

#login=3Dyour-login				# default login
#password=3Dtest					# default password
#mx=3Dmx.for.your.host				# default MX
#backupmx=3Dyes|no				# host is primary MX?
#wildcard=3Dyes|no				# add wildcard CNAME?

##
## dyndns.org dynamic addresses
##
## (supports variables: wildcard,mx,backupmx)
##
# server=3Dmembers.dyndns.org,		\
# protocol=3Ddyndns2			\
# your-dynamic-host.dyndns.org

##
## dyndns.org static addresses
##
## (supports variables: wildcard,mx,backupmx)
##
# static=3Dyes				\
# server=3Dmembers.dyndns.org,		\
# protocol=3Ddyndns2			\
# your-static-host.dyndns.org

##
##
## dyndns.org custom addresses
##
## (supports variables: wildcard,mx,backupmx)
##
# custom=3Dyes				\
# server=3Dmembers.dyndns.org,		\
# protocol=3Ddyndns2			\
# your-domain.top-level,your-other-domain.top-level

##
## ZoneEdit (zoneedit.com)
##
server=3Dwww.zoneedit.com, 		\
protocol=3Dzoneedit1,			\
login=3D<snip>  		\
password=3D<snip>	\
<my.domainname>

##
## EasyDNS (easydns.com)
##
# server=3Dmembers.easydns.com, 		\
# protocol=3Deasydns,			\
# login=3Dyour-easydns-login,  		\
# password=3Dyour-easydns-password	\
# your.any.domain,your-2nd.any.domain

##
## Hammernode (hn.org) dynamic addresses
##
# server=3Ddup.hn.org,             	\
# protocol=3Dhammernode1,         	\
# login=3Dyour-hn-login,           	\
# password=3Dyour-hn-password      	\
# your-hn-host.hn.org,your-2nd-hn-host.hn.org

##
## dslreports.com dynamic-host monitoring
##
# server=3Dmembers.dslreports.com		\
# protocol=3Ddslreports1,			\
# login=3Ddslreports-login,		\
# password=3Ddslreports-password		\
# dslreports-unique-id
#


- --=20
Stacey Roberts B.Sc. (HONS) Computer Science
Network Systems Engineer

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQA/AwUBPTSELvdn4A8qiCO5EQI07wCeLoGbHJXsy4NSQPtod5nBA6TSZnIAn3Cr
h6OEXL2H2wk+a8QRzjNPktGv
=bVya
-----END PGP SIGNATURE-----

--=-8aeP2A0by4v7R1TVIh+k--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1026851889.55073.18.camel>