<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/ DTD/wml_1.1.xml">

<wml>
<head>
<meta http-equiv="cache-control" content="max-age=180,private" />
</head>
<card title="dnspod多线高级版V4（ROS更新DDNS）">
<p>
作者:<a href="index.php?action=showuser&amp;userid=1&amp;hash=">熊茂祥</a><br />时间:2016-10-06 20:51<br />分类:<a href="index.php?action=list&amp;cid=3&amp;hash=">ROS</a><br />标签:<a href="index.php?action=tags&amp;item=ros&amp;hash=">ros</a>, <a href="index.php?action=tags&amp;item=ddns&amp;hash=">ddns</a>, <a href="index.php?action=tags&amp;item=%E5%9F%9F%E5%90%8D&amp;hash=">域名</a>, <a href="index.php?action=tags&amp;item=%E6%9B%B4%E6%96%B0&amp;hash=">更新</a>, <a href="index.php?action=tags&amp;item=dnspod&amp;hash=">dnspod</a><br />内容:
ROS脚本


    #DDNS Token-ID

    

    :global tid &quot;10002&quot;

    

    #DDNS Token

    

    :global tsn &quot;85c4cece0ced14dba4837d13c2cab0e0&quot;

    

    #DDNS域名

    

    :global rhost &quot;域名（例如www.cat-home.org）&quot;

    

    #ROS系统版本（5X,6X）

    :global rver &quot;6X&quot;

    

    #以下不需要修改

    

    :global host [:pick $rhost ([:find $rhost &quot;.&quot;]+1) [:len $rhost]]

    

    :global zhost [:pick $rhost 0 [:find $rhost &quot;.&quot;]]

    

    :if (rver = &quot;6X&quot;) do={

    

    /tool fetch url=(&quot;https://cat-home.org/dnspod/index.php\?tid=$tid&amp;tsn=$tsn&amp;ym=$host&amp;zym=$zhost&quot;) keep-result=no

    

    } else={

    

    /tool  fetch   url=(&quot;http://www.cat-home.org/dnspod/index.php\?tid=$tid&amp;tsn=$tsn&amp;ym=$host&amp;zym=$zhost&quot;)   mode=http keep-result=no}





DNSPOD Token申请地址

https://support.dnspod.cn/Kb/showarticle/tsid/227/



本站提交限制为每10分钟最多10次。规定时间范围内超出提交数量将被忽略更新任务。
</p><p>
<a href="index.php?action=comments&amp;articleid=203&amp;hash=">查看评论</a><br />
<a href="index.php?action=login&amp;hash=">立即登陆发表评论</a><br />
</p>
<p><a href="index.php?action=list&amp;hash=">返回日志列表</a><br /><a href="index.php?action=index&amp;hash=">返回主页</a></p>
</card>
</wml>
