domainthreat icon indicating copy to clipboard operation
domainthreat copied to clipboard

ModuleNotFoundError: No module named 'dns'

Open dial647s opened this issue 11 months ago • 2 comments

Hi, getting the following error when I try: sudo python3 domainthreat.py

ModuleNotFoundError: No module named 'dns' shiva@BORPF526Q9S:~/domainthreat$ sudo pip install dns --break-system-packages ERROR: Could not find a version that satisfies the requirement dns (from versions: none) ERROR: No matching distribution found for dns

Pls help.

dial647s avatar Jan 21 '25 04:01 dial647s

mhh, it seems that you are trying to install wrong package. The issue is that the package name is not 'dns' - you need to install 'dnspython' instead

try:

pip install -r requirements.txt

PAST2212 avatar Jan 21 '25 19:01 PAST2212

thanks for the quick turnaround. Not sure what went wrong, but I tried the command and its working now.

I believe the search is not looking for sub-domains. There is a famous service provider, it.com selling sub-domain which anyone can register and start mimicking an organisation. (orgname.it.com). Will the search look for such instances as well?

dial647s avatar Jan 21 '25 23:01 dial647s