|
|

楼主 |
发表于 2005-10-9 17:40:16
|
显示全部楼层
qdns.conf:
#!/usr/local/bin/ez-ipupdate -c
#
# example config file for ez-ipupdate
#
# this file is actually executable!
#
#下面动态域名和静态域名选一个
#动态域名
service-type=dyndns
#静态域名
#service-type=qdns-static
#设置用户名和密码
user=****:******
#你需要更新的域名
host=****.3322.org
#URL转向
#你的网络端口
interface=ppp1
#如果使用通配符,请将下面的注释去掉
#wildcard
#如果使用邮件服务器(mx)
#mx=mx.abc.com
max-interval=2073600
# please create this file and ensure that the user that ez-ipupdate is running
# as has write permissions to it then uncomment this line, if you don't your
# dyndns account will probably get banned. if you run ez-ipupdate as root (bad
# idea, use "run-as-user") then you can just uncomment this line.
#cache-file=/etc/ez-ipupdate.cache.eth1
# for the mean time we'll just use a cache file in the temp directory
cache-file=/tmp/ez-ipupdate.cache
# uncomment this once you have everything working how you want and you are
# ready to have ez-ipupdate running in the background all the time. to stop it
# you can use "killall -QUIT ez-ipupdate" under linux.
#daem
"ppp1"是我在adsl里看到的
-----------------------------------
#ez-ipupdate -c qdns.conf
ez-ipupdate Version 3.0.10
Copyright (C) 1999-2000 Angus Mackay.
ioctl(SIOCGIFADDR): No such device
我理解的是:只能绑定本机的ip,没办法获得adsl端的动态ip, 所以绑定不成功.
另外:adsl上的安全设置已全部取消,telnet外网电脑不成功.
adsl上的nat只有一条设置,是把adsl设为路由方式后自动生成的.
我家里的绑定3322域名只有这一条命令就成功,加入cron定时更新.lynx -mime_header -auth=user:password "http://www.3322.org/dyndns/update?system=dyndns&hostname=****.3322.org"
这台电脑没有这样做,是因为没有安装perl,而lynx必需要这个.下载安装很费时间.我就想知道题目的这个问题. |
|