Skip to content

Commit 61f93c1

Browse files
Ethan-Arrowoodronag
andcommitted
dns: restore dns query cache ttl
Fixes: #57636 Co-authored-by: Robert Nagy <ronagy@icloud.com>
1 parent 4868ca4 commit 61f93c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cares_wrap.cc

Lines changed: 1 addition & 0 deletions
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)