4 ms·
Update: Apologies to anyone who doesn't get the red/green light on .com availability. I hit API rate limit on that function and quickly updating the backend to
by kirillzubovsky 4y ago
Update: Apologies to anyone who doesn't get the red/green light on .com availability. I hit API rate limit on that function and quickly updating the backend to use a different API. Will be done shortly!
- therusskiy 4y agoit's actually possible to download a list of all domains in .com TLD. Google for how to download domains from ICANN. I think it takes like a day to your request approved.
- kirillzubovsky 4y agoThanks!
- ShakataGaNai 4y agoYou could just do WHOIS queries instead of API. That should be relatively accurate. EX https://pypi.org/project/python-whois/ https://pypi.org/project/python-whois/ You don't need to actually care about what it says, just if there is a record returned or not.
- Sophira 4y agoPretty much all whois providers forbid this. For example, in a whois response for a .com domain, the output includes this: > TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations... Since they aren't registering domain names or modifying existing registrations, their use would be prohibited by these terms of use.
- ShakataGaNai 4y agoYou are probably right. But someone could argue semantics. The project is for the express purpose of registering domain names. And the project only does queries as needed to verify domain ownership - falling under "reasonably necessary". IANAL so my opinion means very little, but it seems like the TOS are targeted towards people who want to abuse the system for doing things like mass data collection, spamming, and other "bad behaviors". Not someone who wants to make sure domains are available for registration. After all, how do the big players do it? Simply downloading the list of all valid domains even once a day would not be sufficient.
- deleted 4y ago[deleted]
- asim 4y agoTry my project https://m3o.com/dns https://m3o.com/dns