ROS的动态DNS
运行了下面的脚本: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
请教如保解决谢谢
页:
[1]