I’m following the ippsec video for Bank and he reaches a point where he runs a dnsrecon command, and while he doesn’t get anything useful, his tool gives a clean output and mine returns a Traceback error and I’m just wondering why. I just want to make sure I don’t have some sort of problem in case I want to use this tool in the future. The error is as follows.
File "./dnsrecon.py", line 1788, in <module>
main()
File "./dnsrecon.py", line 1522, in main
if check_nxdomain_hijack(entry):
File "./dnsrecon.py", line 292, in check_nxdomain_hijack
answers = res.query(test_name, record_type, tcp=True)
File "/usr/lib/python3/dist-packages/dns/resolver.py", line 898, in query
raise NoNameservers(request=request, errors=errors)
dns.resolver.NoNameservers: All nameservers failed to answer the query 952D8CcE0d4BA6817973.com. IN A: Server 10.10.10.29 TCP port 53 answered REFUSED```