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

Fix ANY queries and TCP socket for DNS #182

Merged
merged 1 commit into from
Jan 14, 2022
Merged

Fix ANY queries and TCP socket for DNS #182

merged 1 commit into from
Jan 14, 2022

Conversation

fincham
Copy link
Contributor

@fincham fincham commented Jan 13, 2022

Sets up both TCP and UDP DNS servers, which should allow for the occasional case where a TCP query can make it to the server but UDP can't, and fixes support for ANY queries. ANY queries are deprecated in RFC8482 but this may also provide for additional interaction opportunities.

Re-organises the error handling around DNS server creation slightly because error was always returned as nil anyway.

Sets up both TCP and UDP DNS servers, which should allow for the
occasional case where a TCP query can make it to the server but UDP
can't, and fixes support for ANY queries. ANY queries are deprecated in
RFC8482 but this may also provide for additional interaction
opportunities.

Re-organises the error handling around DNS server creation slightly
because 'error' was always returned as nil anyway.
@ehsandeep ehsandeep requested review from ehsandeep, Mzack9999 and Ice3man543 and removed request for ehsandeep January 13, 2022 05:25
@ehsandeep ehsandeep merged commit 96ec574 into projectdiscovery:dev Jan 14, 2022
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

Successfully merging this pull request may close these issues.

5 participants