使用 WHOIS 批量验证域名

发布于 2024-09-12 09:03:37 字数 190 浏览 2 评论 0原文

我在 C# 中创建了一个应用程序,它查找以 j .DE 结尾的虚拟域,然后应用程序的另一部分检查它们是否确实存在,虚拟域的数量约为 (40 ^ 63)。我可以成功地根据 WHOIS 检查它们,一切都很好。

问题是检查单个域需要一秒钟,而我的一生恐怕要花多长时间才能过滤所有(40^63)个域?

你有替代方案吗?

乌迈尔

I have created an application in C# that finds Dummy Domains that ends withj .DE and then another part of the application checks them whether they really exists, the dummy are about (40 ^ 63) in number. I can successfully check them against WHOIS and everything is fine.

The question is it is taking a second to check a single domain and I am afraid how longer it will take to filter all the (40 ^ 63) domains, my whole life?

Do you have alternative?

Umair

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

聆听风音 2024-09-19 09:03:37

这不是一个编程问题。如果您满足下载 whois 数据库的批量副本的要求,那么您可以简单地将整个数据库以某种快速查找格式加载到 RAM 中,也许是围绕缓存级别设计的 B+Tree,您将获得惊人的速度抬头。

whois 服务器会延迟查找,以防止像您这样的人运行大量自动查找。

这是通过为工作选择更好的算法来开始优化工作这一主题的变体。

This is not a programming question. If you meet the requirements to download a bulk copy of the whois databases, then you can simply load the entire database into RAM in a quick-lookup format of some sort, maybe B+Tree designed around caching levels, and you will have blazing fast lookup.

The whois servers impose delays on lookups to prevent people like you from running large numbers of automated lookups.

This is a variation on the theme of beginning your optimization effort by choosing a better algorithm for the job.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文