万网域名查询和Whois信息API_第1页
万网域名查询和Whois信息API_第2页
万网域名查询和Whois信息API_第3页
万网域名查询和Whois信息API_第4页
万网域名查询和Whois信息API_第5页
已阅读5页,还剩5页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1域名check接口采用HTTP,POST,GET协议: 调用URL:/cgi-bin/check.cgi参数名称:area_domain 值为标准域名,例:调用举例:/cgi-bin/check.cgi?area_domain=返回XML:2002210 : Domain name is available 返回XML结果说明:returncode=200 表示接口返回成功key=*.com表示当前check的域名original=210 : Domain name is available 表示域名可以注册original=211 : Domain name is not available 表示域名已经注册original=212 : Domain name is invalid 表示域名参数传输错误2域名info接口采用HTTP,POST,GET协议:调用URL:/whois/api_whois?host=&oper=0参数名称:host值为标准域名,例:oper为操作值 0=查询whois信息调用举例:/whois/api_whois?host=&oper=0返回结果为Json类型:exp_date: 24-apr-2019,name_server: NS3.HICHINA.COM, NS4.HICHINA.COM,status: clientDeleteProhibited, clientTransferProhibited, clientUpdateProhibited,name:,registrar:HICHINA ZHICHENG TECHNOLOGY LTD.,reg_date: 23-apr-1996,total_infor:nWhois Server Version 2.0nnDomain names in the .com and .net domains can now be registerednwith many different competing registrars. Go to nfor detailed information.nn Domain Name: HICHINA.COMn Registrar: HICHINA ZHICHENG TECHNOLOGY LTD.n Whois Server: n Referral URL: n Name Server: NS3.HICHINA.COMn Name Server: NS4.HICHINA.COMn Status: clientDeleteProhibitedn Status: clientTransferProhibitedn Status: clientUpdateProhibitedn Updated Date: 25-mar-2010n Creation Date: 23-apr-1996n Expiration Date: 24-apr-2019nn Last update of whois database: Mon, 20 Jun 2011 05:34:30 UTC nnNOTICE: The expiration date displayed in this record is the date the nregistrars sponsorship of the domain name registration in the registry is ncurrently set to expire. This date does not necessarily reflect the expiration ndate of the domain name registrants agreement with the sponsoring nregistrar. Users may consult the sponsoring registrars Whois database to nview the registrars reported date of expiration for this registration.nnTERMS OF USE: You are not authorized to access or query our Whois ndatabase through the use of electronic processes that are high-volume and nautomated except as reasonably necessary to register domain names or nmodify existing registrations; the Data in VeriSign Global Registry nServices (VeriSign) Whois database is provided by VeriSign for ninformation purposes only, and to assist persons in obtaining information nabout or related to a domain name registration record. VeriSign does not nguarantee its accuracy. By submitting a Whois query, you agree to abide nby the following terms of use: You agree that you may use this Data only nfor lawful purposes and that under no circumstances will you use this Data nto: (1) allow, enable, or otherwise support the transmission of mass nunsolicited, commercial advertising or solicitations via e-mail, telephone, nor facsimile; or (2) enable high volume, automated, electronic processes nthat apply to VeriSign (or its computer systems). The compilation, nrepackaging, dissemination or other use of this Data is expressly nprohibited without the prior written consent of VeriSign. You agree not to nuse electronic processes that are automated and high-volume to access or nquery the Whois database except as reasonably necessary to register ndomain names or modify existing registrations. VeriSign reserves the right nto restrict your access to the Whois database in its sole discretion to ensure noperational stability. VeriSign may restrict or terminate your access to the nWhois database for failure to abide by these terms of use. VeriSign nreserves the right to modify these terms at any time. nnThe Registry database contains ONLY .COM, .NET, .EDU domains andnRegistrars.,whois_server:返回是通过jQuery异步获取的:jsfunction whois_infor(f)if(f=0 | f=2)var whois_html = 正在查询更多,请稍等;$(.info_text).html(whois_html);var tip_infor = 域名注册信息为缓存信息,并非实时更新,不可做为该域名可否被注册的依据。 点击查询最新域名注册信息;var whois_infor_html = 域名注册信息查询超时,请稍后重试或【刷新页面】;$.ajax(type:get,url:/whois/api_whois,cache:false,data:host:domain_string,oper:f,dataType: json,timeout: 10000,success:function(data)if(data)if(data.hasOwnProperty(error) && data.error =hava no permission)$(.info_text).html(whois_infor_html);else if(data.hasOwnProperty(error) && data.error =read timeout)$(.info_text).html(whois_infor_html);else if(data.hasOwnProperty(space) && data.space =space)var whois_html=;/data.hostname=if(data.hostname=)whois_html =您查询的域名可能被注册局保留、正在审核或限制注册,暂无域名注册信息;elsewhois_html =您查询的域名可能未被注册, 暂无域名注册信息;whois_html += +请【尝试注册】;tip_infor =友情提示:+域名注册信息为缓存信息,并非实时更新,不可做为该域名可否被注册的依据。 点击查询最新域名注册信息;whois_html += tip_infor;$(.info_text).html(whois_html);else if(data.hasOwnProperty(audit) && data.audit =audit)var whois_html=;whois_html =您查询的域名可能被注册局保留、正在审核或限制注册,暂无whois信息;tip_infor =友情提示:+域名注册信息为缓存信息,并非实时更新,不可做为该域名可否被注册的依据。 点击查询最新域名注册信息;whois_html += tip_infor;$(.info_text).html(whois_html);elsevar arr = new Array;arr = domain_string.split(.);var type = arrarr.length-1;var whois_html = ;whois_html +=;whois_html += ;whois_html +=;if(data.hasOwnProperty(status)whois_html +=;elsewhois_html +=;if(data.hasOwnProperty(registrar)var s = /HICHINA ZHICHENG|HiChinaZhicheng|HiChina Zhicheng|HichinaZhicheng/;var res = s.exec(data.registrar);if(res)data.registrar = 北京万网志成科技有限公司;whois_html +=;elsewhois_html +=;if(type = com | type =net | type=cc | type=tv | type =tel | type=so)document.getElementById(type).value = type;document.getElementById(type_infor).value=data.whois_server;elseif(data.hasOwnProperty(Registrant_Organization)whois_html +=;elsewhois_html +=;if(data.hasOwnProperty(Registrant_Name) && data.hasOwnProperty(email)if(type = cn)whois_html +=;elsewhois_html +=;elsewhois_html +=;if(data.hasOwnProperty(name_server)whois_html +=;elsewhois_html +=;if(data.hasOwnProperty(reg_date)whois_html +=;elsewhois_html +=;if(data.hasOwnProperty(exp_date)whois_html +=;elsewhois_html +=;if(type = com | type =net | type=cc | type=tv |type=so)whois_html +=域名DomainName+domain_string+访问该网站域名状态(这是什么?)Domain Status+domain_status(data.status)+注册商Sponsoring Registrar+data.registrar+注册商Sponsoring Registrar注册人公司Company+data.Registrant_Organization+注册人公司Company注册人/管理人EmailRegistrant Name/Email+data.Registr

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论