derekwen 发表于 2007-10-2 17:41:06

求救:ROS-2.9.27版->DDNS动态域名不成功!!No change!!

我的ROS版本是:2.9.27,在使用DDNS动态域名时动态无法更新!好烦啊~ 高手来帮下我完了这心愿吧~ 谢谢~!!!!!:')

:log info "DDNS: Begin"
:global ddns-user "用户名"
:global ddns-pass "密码"
:global ddns-host "dk2000.ddns.ms"
:global ddns-interface "外网网卡"
: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"

试好好多次都是在 log 里显示 NO change,有没人能帮我解决这问题,实力是想不懂~ 如果知道问题出在哪里,请详细说明一下,谢谢!
:') :') :') :') :') :') :') :') :') :') :') :') :') :') :') :') :') :') :') :') :') :') :') :') :') :') :') :') :') :')
页: [1]
查看完整版本: 求救:ROS-2.9.27版->DDNS动态域名不成功!!No change!!