Is there any way to generate words based on characters and checking if a domain exists with this word (ping)?
What I want to do is to generate words based on some characters, example ‘abcdefgh’, and then ping generatedword.com to check if it exists.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You don’t want to use the ping command, but you can use Python’s
socket.gethostbyname()function to determine whether a host exists.This is going to take tons of time and maybe make your ISP mad at you. You’re better off either:
Using a lower-level DNS interface such as dnspython, or
Finding a direct interface to domain registrars, such as whois, and querying that.
You aren’t going to use this to spam people, are you?