Disable upstream TCP DNS

windivert, in particular, will get filtered by this and it almost
certainly won't work.
This commit is contained in:
Jason Rhinelander 2022-09-13 17:16:51 -03:00
parent d32a37e30b
commit de4bce1d96
No known key found for this signature in database
GPG Key ID: C4992CE7A88D4262
1 changed files with 3 additions and 0 deletions

View File

@ -208,6 +208,9 @@ namespace llarp::dns
Up(const llarp::DnsConfig& conf)
{
// set libunbound settings
SetOpt("do-tcp:", "no");
for (const auto& [k, v] : conf.m_ExtraOpts)
SetOpt(k, v);