mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-11 07:10:36 +00:00
Merge pull request #1857 from majestrate/upstream-dns-default-quad-nine-2022-02-15
use quad nine as default upstream dns
This commit is contained in:
commit
6cec95f0f7
@ -740,7 +740,7 @@ namespace llarp
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Default, but if we get any upstream (including upstream=, i.e. empty string) we clear it
|
// Default, but if we get any upstream (including upstream=, i.e. empty string) we clear it
|
||||||
constexpr Default DefaultUpstreamDNS{"1.1.1.1"};
|
constexpr Default DefaultUpstreamDNS{"9.9.9.10"};
|
||||||
m_upstreamDNS.emplace_back(DefaultUpstreamDNS.val);
|
m_upstreamDNS.emplace_back(DefaultUpstreamDNS.val);
|
||||||
if (!m_upstreamDNS.back().getPort())
|
if (!m_upstreamDNS.back().getPort())
|
||||||
m_upstreamDNS.back().setPort(53);
|
m_upstreamDNS.back().setPort(53);
|
||||||
|
Loading…
Reference in New Issue
Block a user