3322域名更新程序
2008-03-02 20:58
197 查看
希网动态域名——相关协议 |
Client的请求应该使用HTTP/1.0以上协议,Server的相应一定为HTTP/1.0 支持HTTP和基于SSL的HTTPS协议 需要事务处理,Client发送完整的请求,并且解析服务器端的相应,保证域名更新的成功 1. 通过URL认证 (所有的在一行) http://username:password@members.3322.org/dyndns/update?system=dyndns&hostname=yourhost.ourdomain.ext&myip=ipaddress&wildcard=OFF &mx=mail.exchanger.ext&backmx=NO&offline=NO 2. HTTP GET 请求 1) dyndns, statdns GET /dyndns/update?system=statdns&hostname=yourhost.ourdomain.ext &myip=ipaddress&wildcard=OFF&mx=mail.exchanger.ext&backmx=NO &offline=NO HTTP/1.1 Host: members.3322.org Authorization: Basic username:pass (note: username:pass must be encoded in base64) User-Agent: myclient/1.0 me@null.net 2) webhop GET /dyndns/update?system=webhop&hostname=yourhost.ourdomain.ext&url=dest_url &title=cloak_title&cloak=cloak HTTP/1.1 Host: members.3322.org Authorization: Basic username:pass (note: username:pass must be encoded in base64) User-Agent: myclient/1.0 me@null.net 3) subdom GET /dyndns/update?system=subdom&hostname=yourhost.ourdomain.ext&ip1=address1&ip2=address2 HTTP/1.1 Host: members.3322.org Authorization: Basic username:pass (note: username:pass must be encoded in base64) User-Agent: myclient/1.0 me@null.net username:password System:All Optional: No 用户名和密码用来登录 system=dyndns|statdns|webhop|subdom System:All Optional: Yes 只能使用二者之一,否则出错。如果没有这个参数,缺省是dyndns (webhop, subdomain只能使用web更新,而用户自己的域名(3322.org的custom方式) 可以归并到现有的四种方式) hostname=host.3322.org System:All Optional: No 需要更新的域名 myip=ipaddr System:All Optional: Yes 域名对应的IP。如果不指定,则服务器将选择最佳的IP(一些Proxy会传递客户端的IP, 这会被服务器检测到)。如果传递的地址格式错误,则忽略这个参数,而用服务器检测 到的IP。 wildcard=ON|OFF System:DynDNS, StatDNS Optional: Yes 是否支持通配符,缺省为OFF。ON意为着 *.host.3322.org等同于host.3322.org mx=mailexchanger System:DynDNS, StatDNS Optional: Yes 指明Mail eXchanger。必须能够解析到一个IP,否则被忽略。如果不提供该参数或者 不能解析到一个IP,mx记录会被删除。 backmx=YES|NO System:DynDNS, StatDNS Optional: Yes 指明前面的mx参数会被设置成备份邮件服务器,即邮件会首先发送到你的机器上,如果 不成功,才会发送到备份邮件服务器上。 offline=YES|NO System:DynDNS Optional: 4000 Yes 使域名暂时失效。 url=dest_url System:WebHop Optional: No webhop指向的URL地址 cloak=YES|NO System:WebHop Optional: Yes 指明webhop时是否使用frame,将转向的url包装起来。缺省是YES title=cloak_title System:WebHop Optional: Yes cloak时,frame的标题。缺省是 "Bentium DynDns System" ip1=address1 System:SubDom Optional: YES 第一个域名服务器的IP地址,必须是正确的IP。如果不指定,则服务器将选择最佳的IP (一些Proxy会传递客户端的IP, 这会被服务器检测到)。如果传递的地址格式错误, 则忽略这个参数,而用服务器检测到的IP。 ip2=address2 System:SubDom Optional: YES 第二个域名服务器的IP地址,必须是正确的IP 返回码 http://www.3322.org/dyndnspage/codes.html |
希网动态域名——返回码解释 |
Pre-Update Errors badauth Bad authorization (username or password) badsys The system parameter given was not valid. badagent The useragent your client sent has been blocked at the access level. Support of this return code is optional. Update Complete good Update good and successful, IP updated nochg No changes, update considered abusive good或noschg后面会跟着所更新的IP地址 Input Error Conditions notfqdn A Fully-Qualified Domain Name was not provided nohost The hostname specified does not exist nourl WebHop时,没有设置URL !donator The offline setting was set, when the user is not a donator, this is only returned once !yours The hostname specified exists, but not under the username currently being used !active The hostname specified is in a Custom DNS domain which has not yet been activated abuse The hostname specified is blocked for abuse; contact support to be unblocked Server Error Conditions numhost Too many or too few hosts found dnserr DNS error encountered Wait Conditions wxxh Wait "xx" hours wxxm Wait "xx" minutes wxxs Wait "xx" seconds Emergency Conditions 911 Shutdown until notified otherwise via status.shtm |
相关文章推荐
- Debian下安装3322动态域名更新程序
- 用libcurl实现3322域名更新
- 希网3322域名更新脚本(Python)
- 3322 动态域名更新 IP 程序补丁
- 更新3322域名的ip地址
- .NET 和智能传输服务API编写自动更新程序
- C#实现程序的版本升级更新
- jsva程序:正则表达式匹配域名
- 安装IE,出现“无法安装ie,因为其他程序或更新正在等待重新启动计算机。”解决方法。
- Google Maps API V3 更新程序 离线地图开发包制作工具
- C# 实现客户端程序自动更新
- 使用ClickOnce发布自动更新C#程序的一些注意点
- 自动更新程序需求
- (python)域名查询服务(whois)程序+检查5位以内域名到期时间邮件报警抢注域名
- C#实现程序的版本升级更新
- 微信小程序服务范围重大更新
- error C2471: 无法更新程序数据库
- 安卓程序代写 网上程序代写[原]Android应用的自动更新模块
- [解决方法]网络策略设置禁止您使用该网站获取您计算机的更新程序。 如果您确认此消息有误,请向您的系统管理员咨询。
- 简单的自动更新程序实现