dns: restore dns query cache ttl#57640
Merged
nodejs-github-bot merged 1 commit intonodejs:mainfrom Apr 7, 2025
Merged
Conversation
Collaborator
|
Review requested:
|
Fixes: nodejs#57636 Co-authored-by: Robert Nagy <ronagy@icloud.com>
da48077 to
61f93c1
Compare
mcollina
approved these changes
Mar 26, 2025
Member
mcollina
left a comment
There was a problem hiding this comment.
lgtm
Can you open the follow-up issue to track that work?
ronag
approved these changes
Mar 26, 2025
pimterry
approved these changes
Mar 26, 2025
lpinca
approved these changes
Mar 26, 2025
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #57640 +/- ##
==========================================
- Coverage 90.22% 90.22% -0.01%
==========================================
Files 630 630
Lines 185055 185056 +1
Branches 36216 36218 +2
==========================================
- Hits 166975 166963 -12
- Misses 11042 11047 +5
- Partials 7038 7046 +8
🚀 New features to boost your workflow:
|
BridgeAR
approved these changes
Mar 26, 2025
Collaborator
Collaborator
jasnell
approved these changes
Apr 5, 2025
Collaborator
Collaborator
|
Landed in b85505d |
Member
|
I'm assuming this will land cleanly and removed the |
JonasBa
pushed a commit
to JonasBa/node
that referenced
this pull request
Apr 11, 2025
Fixes: nodejs#57636 Co-authored-by: Robert Nagy <ronagy@icloud.com> PR-URL: nodejs#57640 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
RafaelGSS
pushed a commit
that referenced
this pull request
Apr 15, 2025
Fixes: #57636 Co-authored-by: Robert Nagy <ronagy@icloud.com> PR-URL: #57640 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
RafaelGSS
pushed a commit
that referenced
this pull request
Apr 16, 2025
Fixes: #57636 Co-authored-by: Robert Nagy <ronagy@icloud.com> PR-URL: #57640 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
RafaelGSS
pushed a commit
that referenced
this pull request
Apr 16, 2025
Fixes: #57636 Co-authored-by: Robert Nagy <ronagy@icloud.com> PR-URL: #57640 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
RafaelGSS
pushed a commit
that referenced
this pull request
Apr 17, 2025
Fixes: #57636 Co-authored-by: Robert Nagy <ronagy@icloud.com> PR-URL: #57640 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
RafaelGSS
pushed a commit
that referenced
this pull request
May 1, 2025
Fixes: #57636 Co-authored-by: Robert Nagy <ronagy@icloud.com> PR-URL: #57640 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
RafaelGSS
pushed a commit
that referenced
this pull request
May 2, 2025
Fixes: #57636 Co-authored-by: Robert Nagy <ronagy@icloud.com> PR-URL: #57640 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
augjoh
added a commit
to augjoh/node
that referenced
this pull request
May 18, 2025
The original fix in (dns: Breaking Change - DNS Caching nodejs#57636) didn't the the option correctly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: #57636
When c-ares was updated the default caching behavior changed.
This PR restores the caching behavior by setting
qcache_max_ttlto0.This change in c-ares is reasonable; thus, as a follow up to this fix, we should implement a cache management API for DNS queries and then re-enable the new default cache value. Tracking issue for follow up work: #57641