Skip to content

Commit f683478

Browse files
Ethan-Arrowoodronag
authored andcommitted
dns: restore dns query cache ttl
Fixes: #57636 Co-authored-by: Robert Nagy <[email protected]> PR-URL: #57640 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Tim Perry <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 70bfd59 commit f683478

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cares_wrap.cc

+1
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,7 @@ void ChannelWrap::Setup() {
778778
options.sock_state_cb_data = this;
779779
options.timeout = timeout_;
780780
options.tries = tries_;
781+
options.qcache_max_ttl = 0;
781782

782783
int r;
783784
if (!library_inited_) {

0 commit comments

Comments
 (0)