zrp444 发表于 2009-4-12 14:27:39

ROS的DDNS

运行了下面的脚本

:log info "DDNS: Begin"
:global ddns-user "zrp28554904"
:global ddns-pass "zrp28554904"
:global ddns-host "13510575719.my03.com"
:global ddns-interface "pppoe-out1"
:global ddns-system ("mt-" . version] )
:global ddns-ip [ /ip address get address ]
:if ([ :typeof $ddns-lastip ] = nil ) do={ :global ddns-lastip 0.0.0.0/0 }
:if ([ :typeof $ddns-ip ] = nil ) do={
:log info ("DDNS: No ip address present on " . $ddns-interface . ", please check.") } else={
:if ($ddns-ip != $ddns-lastip) do={
:log info "DDNS: Sending UPDATE!"
:log info [ /tool dns-update name=$ddns-host address=[:pick $ddns-ip 0 [:find $ddns-ip "/"] ] key-name=$ddns-user key=$ddns-pass ]
:global ddns-lastip $ddns-ip } else={
:log info "DDNS: No change"
}
}
:log info "DDNS: End"

远程登录出现下面的错误:

麻烦看一下附件


此主题相关图片如下:未命名.jpg

47771885 发表于 2009-4-12 21:02:04

大佬 你不认英文抄下来翻译一下也可以啊

zhupengliang 发表于 2009-5-9 21:23:18

提示意思 是链接不到你的路由 80端口 。
页: [1]
查看完整版本: ROS的DDNS