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

Check whether TCP support is needed/useful #4

Open
luc-x41 opened this issue May 25, 2022 · 0 comments
Open

Check whether TCP support is needed/useful #4

luc-x41 opened this issue May 25, 2022 · 0 comments

Comments

@luc-x41
Copy link
Collaborator

luc-x41 commented May 25, 2022

The server does not return responses large enough to ever warrant falling back to TCP, but it is unknown whether there exist resolvers that default to querying via TCP. These would either time out and fall back, or time out altogether. UDP really is the standard for DNS so it seems unlikely, but given how many servers support TCP, such resolvers might exist and ideally we'd support all clients.

This would probably involve creating two threads to support both protocols. The TCP thread should prevent resource exhaustion due to excessive amounts of open connections.

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