mirror of https://github.com/oxen-io/lokinet
Merge pull request #1817 from majestrate/disable-upstream-ip6-dns-2021-12-03
disable ip6 upstream dns in libunbound
This commit is contained in:
commit
5890c99a81
|
@ -106,6 +106,9 @@ namespace llarp::dns
|
|||
return false;
|
||||
}
|
||||
|
||||
// disable ip6 for upstream dns
|
||||
ub_ctx_set_option(unboundContext, "prefer-ip6", "0");
|
||||
// enable async
|
||||
ub_ctx_async(unboundContext, 1);
|
||||
#ifdef _WIN32
|
||||
runner = std::thread{[&]() {
|
||||
|
|
Loading…
Reference in New Issue