开发者

Validating Domains Using WHOIS in Bulk

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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜