How to reliably check if a domain has been registered or is available?
问题 Objective I need a reliable way to check in Python if a domain of any TLD has been registered or is available. The bold phrases are the key points that I'm struggling with. What I tried? WHOIS is the obvious way to do the check and an existing Python library like the popular python-whois was my first try. The problem is that it doesn't seem to be able to retrieve information for some of the TLDs, e.g. .run , while it works mostly fine for older ones, e.g. .com . So if python-whois is not