r/pythonhelp • u/GameTime_Game0 • Nov 03 '21
A python script or program to find unregistered domain name
Hi I'm launching a new business & struggling to find a domain. The domains that seem sensible is way beyond the scope of this small business. So, I'm looking for a script or a program that uses every word from the dictionary/ uses 2 words together with a dotcom & searches on the web to see if that name has a website registered. & If it finds that there is no name registered for a perticular domain it will add to a database/ text file. So, we can find a suitable name among those.
4
Upvotes
1
u/Demokadia Nov 03 '21
Try some WD40 and steel wool.
1
1
u/carcigenicate Nov 03 '21
For the name lookup, you could just use
nslookupusingsubprocess. Here's a sample example:You could also call
nslookupto start an interactive session with it, then feed input into the stdin and read from the stdout. This will likely be much more efficient, although harder to implement.