Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in line 99, using default resolver instead of custom one #6

Open
milux opened this issue Jun 13, 2022 · 0 comments
Open

Bug in line 99, using default resolver instead of custom one #6

milux opened this issue Jun 13, 2022 · 0 comments

Comments

@milux
Copy link

milux commented Jun 13, 2022

There's a bug in your main script in line 99.
It reads answer = dns.resolver.query(domain, record_type), but should be answer = resolver.query(domain, record_type), because then it uses the resolver object defined above.
So trivial and yet so hard to see, took me hours of debugging. Please fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant