How do I check the domain availability of every domain in a long list? For example, I would like to choose a base word, e.g. “overflow” and check for domain availability of all 3-letter combinations after the word, e.g. “overflowabc”
Is there a script written for this? Is it legal to do a massive search like this?
You can use the
checkdnsrrfunction to perform a domain name look up:It is illegal to scrape DNS registries in some countries, but you are not really scraping, just looking for availability. So it should be fine.
http://php.net/manual/en/function.checkdnsrr.php