Skip to content

Should dotnet have a DNS cache? #93555

Answered by karelz
ezsilmar asked this question in Q&A
Oct 16, 2023 · 3 comments · 4 replies
Discussion options

You must be logged in to vote

For context, there are scenarios which depend on DNS-resolution load balancing, where we have to ask the OS for DNS resolution on each request.
That said, we have Custom DNS in our plans and extending it with cache would make sense. Using ConnectCallback is a good interm workaround.

Out of curiosity: How did ServicePoint implement DNS cache? Didn't it just rely on OS resolution as well?

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@karelz
Comment options

karelz Oct 16, 2023
Collaborator

Answer selected by ezsilmar
@ezsilmar
Comment options

@antonfirsov
Comment options

Comment options

You must be logged in to vote
1 reply
@ezsilmar
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants