assets-from-spf icon indicating copy to clipboard operation
assets-from-spf copied to clipboard

All nameservers failed to answer the query

Open IamLucif3r opened this issue 3 years ago • 0 comments

Query : python assets_from_spf.py reddit.com Result : /usr/lib/python3/dist-packages/ipwhois/whois.py:412: SyntaxWarning: "is not" with a literal. Did you mean "!="? if count is not 0 and count < 4: /usr/lib/python3/dist-packages/ipwhois/whois.py:548: SyntaxWarning: "is not" with a literal. Did you mean "!="? asn_data['asn_registry'] is not 'arin'): /home/iamlucif3r/Bug Hunting/Tools/assets-from-spf/assets_from_spf.py:31: DeprecationWarning: please use dns.resolver.resolve() instead answers = dns.resolver.query(domain, 'TXT', raise_on_no_answer=False) Traceback (most recent call last): File "/home/iamlucif3r/Bug Hunting/Tools/assets-from-spf/assets_from_spf.py", line 106, in main() File "/usr/lib/python3/dist-packages/click/core.py", line 829, in call return self.main(*args, **kwargs) File "/usr/lib/python3/dist-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/usr/lib/python3/dist-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3/dist-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/home/iamlucif3r/Bug Hunting/Tools/assets-from-spf/assets_from_spf.py", line 94, in main spf_record = get_spf_record(domain) File "/home/iamlucif3r/Bug Hunting/Tools/assets-from-spf/assets_from_spf.py", line 31, in get_spf_record answers = dns.resolver.query(domain, 'TXT', raise_on_no_answer=False) File "/usr/lib/python3/dist-packages/dns/resolver.py", line 1221, in query return resolve(qname, rdtype, rdclass, tcp, source, File "/usr/lib/python3/dist-packages/dns/resolver.py", line 1205, in resolve return get_default_resolver().resolve(qname, rdtype, rdclass, tcp, source, File "/usr/lib/python3/dist-packages/dns/resolver.py", line 1040, in resolve (nameserver, port, tcp, backoff) = resolution.next_nameserver() File "/usr/lib/python3/dist-packages/dns/resolver.py", line 598, in next_nameserver raise NoNameservers(request=self.request, errors=self.errors) dns.resolver.NoNameservers: All nameservers failed to answer the query reddit.com. IN TXT: Server 192.168.0.1 UDP port 53 answered DNS message is malformed.

IamLucif3r avatar Jul 03 '21 10:07 IamLucif3r