免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4454 | 回复: 1

[Spark] ddclient+dnspark update error??help me@_! [复制链接]

论坛徽章:
0
发表于 2008-01-08 13:47 |显示全部楼层
1. ./etc/ddclient/ddclient.conf  #full of content:
######################################################################
##
## $Id: sample-etc_ddclient.conf 8 2006-06-14 19:51:39Z wimpunk $
##
## Define default global variables with lines like:
##         var=value [, var=value]*
## 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=value [, var=value]* host.and.domain[,host2.and.domain...]
##
## Lines can be continued on the following line by ending the line
## with a \
##
##
## Warning: not all supported routers or dynamic DNS services
##          are mentioned here.
##
######################################################################
daemon=300                                # check every 300 seconds
syslog=yes                                # log update msgs to syslog
mail=root                                # mail all msgs to root
mail-failure=root                        # mail failed update msgs to root
pid=/var/run/ddclient.pid                # record PID in file.
cache=/tmp/ddclient.cache
ssl=yes                                        # use ssl-support.  Works with
                                        # ssl-library
#
#use=watchguard-soho,        fw=192.168.111.1:80        # via Watchguard's SOHO FW
#use=netopia-r910,           fw=192.168.111.1:80        # via Netopia R910 FW
#use=smc-barricade,          fw=192.168.123.254:80        # via SMC's Barricade FW
#use=netgear-rt3xx,          fw=192.168.0.1:80                # via Netgear's internet FW
#use=linksys,                fw=192.168.1.1:80                # via Linksys's internet FW
#use=maxgate-ugate3x00,      fw=192.168.0.1:80                # via MaxGate's UGATE-3x00  FW
#use=elsa-lancom-dsl10,      fw=10.0.0.254:80                # via ELSA LanCom DSL/10 DSL Router
#use=elsa-lancom-dsl10-ch01, fw=10.0.0.254:80                # via ELSA LanCom DSL/10 DSL Router
#use=elsa-lancom-dsl10-ch02, fw=10.0.0.254:80                # via ELSA LanCom DSL/10 DSL Router
#use=alcatel-stp,            fw=10.0.0.138:80           # via Alcatel Speed Touch Pro
#use=xsense-aero,            fw=192.168.1.1:80          # via Xsense Aero Router
#use=allnet-1298,            fw=192.168.1.1:80          # via AllNet 1298 DSL Router
#use=3com-oc-remote812,             fw=192.168.0.254:80        # via 3com OfficeConnect Remote 812
#use=e-tech,                 fw=192.168.1.1:80          # via E-tech Router
#use=cayman-3220h,           fw=192.168.0.1:1080        # via Cayman 3220-H DSL Router
#
#fw-login=admin,             fw-password=XXXXXX                # FW login and password
#
## To obtain an IP address from FW status page (using fw-login, fw-password)
#use=fw, fw=192.168.1.254/status.htm, fw-skip='IP Address' # found after IP Address
#
## To obtain an IP address from Web status page (using the proxy if defined)
#use=web, web=checkip.dyndns.org/, web-skip='IP Address' # found after IP Address
#
#use=ip,                     ip=127.0.0.1        # via static IP's
#use=if,                     if=eth0                # via interfaces
#use=web                                        # via web
#
#protocol=dyndns2                                # default protocol
#proxy=fasthttp.sympatico.ca:80                        # default proxy
#server=members.dyndns.org                        # default server
#server=members.dyndns.org:8245                        # default server (bypassing proxies)

#login=your-login                                # default login
#password=test                                        # default password
#mx=mx.for.your.host                                # default MX
#backupmx=yes|no                                # host is primary MX?
#wildcard=yes|no                                # add wildcard CNAME?

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

##
## dyndns.org static addresses
##
## (supports variables: wildcard,mx,backupmx)
##
# static=yes,                                \
# server=members.dyndns.org,                \
# protocol=dyndns2                        \
# your-static-host.dyndns.org

##
##
## dyndns.org custom addresses
##
## (supports variables: wildcard,mx,backupmx)
##
# custom=yes,                                \
# server=members.dyndns.org,                \
# protocol=dyndns2                        \
# your-domain.top-level,your-other-domain.top-level

##
## ZoneEdit (zoneedit.com)
##
# server=www.zoneedit.com,                 \
# protocol=zoneedit1,                        \
# login=your-zoneedit-login,                  \
# password=your-zoneedit-password        \
# your.any.domain,your-2nd.any.dom

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

##
## Hammernode (hn.org) dynamic addresses
##
# server=dup.hn.org,                     \
# protocol=hammernode1,                 \
# login=your-hn-login,                   \
# password=your-hn-password              \
# your-hn-host.hn.org,your-2nd-hn-host.hn.org

##
## dslreports.com dynamic-host monitoring
##
# server=members.dslreports.com                \
# protocol=dslreports1,                        \
# login=dslreports-login,                \
# password=dslreports-password                \
# dslreports-unique-id

##
## OrgDNS.org account-configuration
##
# use=web, web=members.orgdns.org/nic/ip
# server=www.orgdns.org                 \
# protocol=dyndns2                         \
# login=yourLoginName                         \
# password=yourPassword                 \
# yourSubdomain.orgdns.org

##
## dnspark.com
## (supports variables: mx, mxpri)
##
use=web, web=ipdetect.dnspark.com/, web-skip='Current IP Address:'
protocol=dnspark,\
server=www.dnspark.com,\
login=login-name,\
password=login-passwork,\
my-host.example.cn

##
## NameCheap (namecheap.com)
##
# protocol=namecheap,                                \
# server=dynamicdns.park-your-domain.com,        \
# login=my-namecheap.com-login,                        \
# password=my-namecheap.com-password                \
# myhost.namecheap.com

#tail /var/log/messages  
ddclient[14609]: WARNING:  cannot connect to www.dnspark.com:443 socket: IO::Socket::SSL: Bad hostname 'www.dnspark.com' IO::Socket::INET configuration failederror:00000000:lib(0):func(0):reason(0)
ddclient[14609]: FAILED:   updating my-host.example.cn: Could not connect to www.dnspark.com.
ddclient[14609]: WARNING:  file /tmp/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''

#ddclient -daemon=0 -query
use=if, if=eth0 address is 192.168.1.88
use=if, if=eth1 address is 192.168.1.254
use=if, if=lo address is 127.0.0.1
use=if, if=ppp0 address is 221.217.56.250
use=if, if=sit0 address is NOT FOUND
use=web, web=dnspark address is 221.217.56.250
WARNING:  cannot connect to checkip.dyndns.org:80 socket: IO::Socket::INET: connect: Connection timed out
use=web, web=dyndns address is NOT FOUND
use=web, web=ipdetect.dnspark.com/ address is 221.217.56.250

key question:
i am only to use the dnspark have not to use the dyndns!

why the contents of error have the dyndns of error messages???

why tail /var/log/messages have the error?

where the configure of file ddclient.conf is not right?

[ 本帖最后由 yudi2006 于 2008-1-8 13:49 编辑 ]

论坛徽章:
0
发表于 2008-01-09 17:43 |显示全部楼层
why no person answer??
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP