Skip to content

Commit

Permalink
dns_server: remove tcp keepalive EDNS cause DNSPOD not work.
Browse files Browse the repository at this point in the history
  • Loading branch information
pymumu committed Nov 19, 2023
1 parent 26798f8 commit fc82c56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dns_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -3632,7 +3632,7 @@ static int _dns_client_send_query(struct dns_query_struct *query)
}

dns_set_OPT_payload_size(packet, DNS_IN_PACKSIZE);
dns_add_OPT_TCP_KEEPALIVE(packet, 1200);
/* dns_add_OPT_TCP_KEEPALIVE(packet, 1200); */
if (_dns_client_dns_add_ecs(query, packet) != 0) {
tlog(TLOG_ERROR, "add ecs failed.");
return -1;
Expand Down

0 comments on commit fc82c56

Please sign in to comment.