nmmapper / dnsdumpster

A tool to perform DNS reconnaissance on target networks. Among the DNS information got from include subdomains, mx records, web application firewall detection and more fingerprinting and lookups
https://www.nmmapper.com
Mozilla Public License 2.0
287 stars 43 forks source link

Error dns.resolver.NoAnswer: #2

Closed securitysaar closed 3 years ago

securitysaar commented 4 years ago

Hi Wangoloj,

I getting a error for hostnames without a A Record (at least my understanding).

here a the log with the error for nmmapper.com. I user python3 and Ubuntu 20.04.1 LTS thanks and regards, /bk

python3 dnsdumpster.py -d nmmapper.com Starting dns dump against nmmapper.com Searching using engine DNSdumpster Searching using engine Netcraft Searching using engine Virustotal Searching using engine ThreatCrowd Searching using engine SSL Certificates Traceback (most recent call last): File "dnsdumpster.py", line 841, in subs = main(args.d) File "dnsdumpster.py", line 809, in main a_record = query_A_records(sub) File "/home/bernd/python/dnsdumpster/geolocator/geo.py", line 39, in query_A_records query = resol.query(hostname, query_type) File "/home/bernd/.local/lib/python3.8/site-packages/dns/resolver.py", line 1089, in query return self.resolve(qname, rdtype, rdclass, tcp, source, File "/home/bernd/.local/lib/python3.8/site-packages/dns/resolver.py", line 1069, in resolve (answer, done) = resolution.query_result(response, None) File "/home/bernd/.local/lib/python3.8/site-packages/dns/resolver.py", line 641, in query_result raise NoAnswer(response=answer.response) dns.resolver.NoAnswer: The DNS response does not contain an answer to the question: a1.nmmapper.com. IN A

nmmapper commented 4 years ago

Okay we are going to fix it.