ydb-platform / ydb

YDB is an open source Distributed SQL Database that combines high availability and scalability with strong consistency and ACID transactions
https://ydb.tech
Apache License 2.0
4k stars 566 forks source link

Option to configure DNS in ydb resolver #4116

Open dcherednik opened 6 months ago

dcherednik commented 6 months ago

Need an option to close communication socket with DNS server. As I tested, the ARES_FLAG_STAYOPEN option is responsible for this behaviour (https://c-ares.org/ares_init_options.html ).

dcherednik commented 6 months ago

https://github.com/ydb-platform/ydb/pull/4123