没有Whois,请检查域是否已注册? [英] Check if Domain is registered or not without Whois?

查看:269
本文介绍了没有Whois,请检查域是否已注册?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

要PROGRAMMATICALLY验证域是否存在我执行以下操作:

To PROGRAMMATICALLY verify if a domain exists I do the following:


  1. DNS查询它看看是否它解决了。如果是的话,很明显是注册的。所以不需要步骤2.如果没有,它可能仍然被注册。所以需要一个whois检查。

  2. whois.iana.org 的回溯,看看是否指定whois服务器知道该域名。

  1. DNS Query it and see if it resolves. If it does, it's obviously registered. So no need for step 2. If it doesn't, it might STILL be registered. So a whois check is required.
  2. Backtrack from whois.iana.org and see if the designated whois server knows the domain or not.

嗯,whois不是真的意味着批量检查。更不用说RFC只有4页,并且格式甚至数据的编码都没有明确的规范。因此,您几乎必须为每个特定答案格式(服务器)训练解析器。

Well, whois is not really meant for bulk checking. Not to mention that the RFC has only 4 pages and there's no clear specifications as to the format or even the encoding of the data. So you pretty much have to train the parser for each specific answer format (server).


有没有办法规避whois查询,并检查(尽可能靠近金属),如果该域已注册在另一个(公开可用)标准化(最好是免费或负担得起的) 而不是下载TLD区域文件或使用第三方API(因为他们有一个不好的习惯来抢夺您在注册前检查的域名它们)。 :)

Is there a way to circumvent the whois query and check (as close to the metal as possible) if the domain is registered in another (publicly available) standardized (preferably free or affordable) way? And not by downloading the TLD zone file or using third-party APIs (as they have a bad habit of snatching domains that you check before you get to register them). :)

我知道注册服务商有自己的协议,但我不知道是否可以公开使用。 em>

I know registrars have their own protocol but I'm not sure if it's open to public use.

推荐答案

在没有查看区域文件或直接用注册表检查的情况下,没有任何好的方法来准确地做到这一点不幸的是,

There isn't really any good way to do this accurately without looking at zone files or checking directly with the registry, unfortunately.

注册商通常使用协议,如 EPP 与注册表通话,检查名称可用性和下订单。允许任何其他认证注册商以外的任何人不得使用此协议,但可能需要检查管理您感兴趣的TLD的注册表,例如, Verisign

Registrars typically use a protocol like EPP to talk to a registry, check name availability and place orders. It's unlikely that anyone other than an accredited registrar would be permitted to use this protocol, but it may be worth checking with the registry that manages the TLDs you are interested in, e.g. Verisign.

我(个人)谨防对DNS查询或WHOIS查询过度依赖,以确定某个特定域是否存在,因为这两个域可能会不时产生不准确的结果。例如,某些TLD的名称服务器配置为任何未注册的域名(他们经常将您引导到注册管理机构的网站)。越南注册表就是这个例子。 WHOIS查询可能由于任何原因而失败,因此缺少记录不是域名可用性的具体证据。

I'd (personally) be wary of relying too much on DNS queries or WHOIS lookups to ascertain whether a particular domain exists, as both can produce inaccurate results from time to time. For example, certain TLDs have name servers configured for any unregistered domain name (they often direct you to the registry's website). The Vietnamese registry is one example of this. WHOIS lookups can fail for any number of reasons, so lack of a record is not concrete evidence of the domain's availability.

这篇关于没有Whois,请检查域是否已注册?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆