22动态域名注册 (22动态域名客户端)

许昕姚彦-公主怎么画

22动态域名注册 (22动态域名客户端)2021年11月22日发(作者:西瓜种植技术)

一、首先说明,本篇受“情灭缘尽”转帖的脚本启发,其发布的原始脚本如下: # Dynamic DS Update Script v1.1 # ------------------------------ # This script will perform automatic dynamic dns updates on the Mikrotik # router platform. (http:) Since Mikrotik does not # support sending http requests we have created a smtp -> ddns proxy service # which will take the http URL querystring used for a dynamic dns update and # process it via email. # ------------------------------ # Written by Sam orris, # 7104 - Created script. # - Made some values dynamic (smtp server, dhcp interface) # ------------------------------ # # Instructi: # There are a few variables down below that you need to configure for your # specific setup. Please modify the variables in the 'ddnsInit' script to # reflect your specific information, ie userid, password, hostname to update. # # Blow away any existing script code, if necessary. system scheduler remove ddnsJob system script remove ddnsCheck system script remove ddnsInit system script remove ddnsReset system script remove ddnsSendUpdate # Setup global variables needed to keep track of changing IP address. system script add name= :log message= # ETER YOUR USER ID HERE. :global u :set u USERID # ETER YOUR PASSWORD HERE. :global p :set p PASSWORD :global s :set s # ETER THE TARGET HOSTAME TO UPDATE, *1 is Set 1.

:global h :set h :global dhcpInterface :set dhcpInterface [ ip dhcp-client get interface ] :log message=( # EMAIL PROXY ADDRESS - DO OT CHAGE FOR PRODUCTIO. :global ddnsProxyEmail :set ddnsProxyEmail ddnsUpdate@ # ETER YOUR EMAIL ADDRESS FOR COFIRMATIOS. :global ddnsFromEmail :set ddnsFromEmail youremail@ # SMTP DDS PROXY SERVER - CHAGE OLY IF ECESSARY (port 25 blocked?) :global ddnsSmtpServer :set ddnsSmtpServer [:resolve ] :global a :set a [ ip address get [ip address find interface=$dhcpInterface] address ] } system script add name= :if ([system scheduler get ddnsJob run-count]<=1) do={ system script run ddnsInit } :global temp :global b :set temp $a :set b [ ip address get [ip address find interface=$dhcpInterface] address ] :if ($temp != $b) do={ :log message= system script run ddnsSendUpdate :set a $b

} } system script add name= :log message=( tool e-mail send to=$ddnsProxyEmail from=$ddnsFromEmail server=$ddnsSmtpServer subject= body=( } system script add name= :log message= system scheduler set ddnsJob run-count=0 :unset u :unset p :unset s :unset h :unset dhcpInterface :unset ddnsProxyEmail :unset ddnsFromEmail :unset ddnsSmtpServer :unset a :unset b :unset temp } system scheduler add name=ddnsJob interval=0s on-event=ddnsCheck 二、红部分是需要根据个人注册的信息填写 三、黄部分是我要着重解释的,也是成功的关键。 四、具体说明: 1、该脚本是基于网站申请的免费动态域名,大家可自行申请; 2、该脚本的原始作者sam norris就是的运行者,故此,这个脚本在ros下是绝对支持申请的域名,至于其他国内的类似等我还没有试过,不知可不可以 ; 、

今户网-拉萨汽车站

22动态域名注册 (22动态域名客户端)

托维尔-触不到的恋人gl

22动态域名注册 (22动态域名客户端)

丰田荣放2020款-慷慨解囊

22动态域名注册 (22动态域名客户端)

给导师发邮件的主题-战争角落

22动态域名注册 (22动态域名客户端)

奥特曼大电影银河传说-饲养小鸡

22动态域名注册 (22动态域名客户端)

绿牡丹-吸烟者的肺图片

22动态域名注册 (22动态域名客户端)

海贼王924-屋顶上的轻骑兵

22动态域名注册 (22动态域名客户端)

nba季后赛助攻榜-海豚的微笑

22动态域名注册 (22动态域名客户端)

发布时间:2021-11-22 22:01:19
本文来自网络,不代表本站立场,转载请注明出处: http://www.ruidaby.com/caijing/28594.html

作者: admin

保兴财经网,专业的财经自媒体平台!

发表评论

11条评论

  1. log message= # ETER YOUR USER ID HERE.

  2. 其发布的原始脚本如下: # Dynamic DS Update Script v1.1 # ------------------------------ # This script will perform automatic dynamic dns updates on the Mikrotik # router platform. (http

  3. # There are a few variables down below that you need to configure for your # specific setup. Please modify the variables in the 'ddnsInit' script to # reflect your specific information