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:
majestrate 2022-02-15 20:32:29 -05:00 committed by GitHub
commit 6cec95f0f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);