1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
--- chrome/common/chrome_features.cc.orig
+++ chrome/common/chrome_features.cc
@@ -323,12 +323,7 @@ const base::Feature kDesktopPWAsWebBundl
// Enable DNS over HTTPS (DoH).
const base::Feature kDnsOverHttps {
"DnsOverHttps",
-#if defined(OS_WIN) || defined(OS_CHROMEOS) || defined(OS_MAC) || \
- defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_BSD)
- base::FEATURE_ENABLED_BY_DEFAULT
-#else
base::FEATURE_DISABLED_BY_DEFAULT
-#endif
};
// Provides a mechanism to remove providers from the dropdown list in the
--- net/dns/public/doh_provider_entry.cc.orig
+++ net/dns/public/doh_provider_entry.cc
@@ -117,24 +117,6 @@ const DohProviderEntry::List& DohProvide
/*privacy_policy=*/"https://dns.sb/privacy/",
/*display_globally=*/false, /*display_countries=*/{"EE", "DE"},
LoggingLevel::kNormal),
- new DohProviderEntry("Google", DohProviderIdForHistogram::kGoogle,
- {"8.8.8.8", "8.8.4.4", "2001:4860:4860::8888",
- "2001:4860:4860::8844"},
- {"dns.google", "dns.google.com",
- "8888.google"} /* dns_over_tls_hostnames */,
- "https://dns.google/dns-query{?dns}",
- "Google (Public DNS)" /* ui_name */,
- "https://developers.google.com/speed/public-dns/"
- "privacy" /* privacy_policy */,
- true /* display_globally */,
- {} /* display_countries */, LoggingLevel::kExtra),
- new DohProviderEntry(
- "GoogleDns64", absl::nullopt /* provider_id_for_histogram */,
- {"2001:4860:4860::64", "2001:4860:4860::6464"},
- {"dns64.dns.google"} /* dns_over_tls_hostnames */,
- "https://dns64.dns.google/dns-query{?dns}", "" /* ui_name */,
- "" /* privacy_policy */, false /* display_globally */,
- {} /* display_countries */, LoggingLevel::kNormal),
new DohProviderEntry("Iij", DohProviderIdForHistogram::kIij,
{} /* ip_strs */, {} /* dns_over_tls_hostnames */,
"https://public.dns.iij.jp/dns-query",
--- services/network/public/cpp/features.cc.orig
+++ services/network/public/cpp/features.cc
@@ -114,12 +114,7 @@ const base::Feature kSplitAuthCacheByNet
// Enable usage of hardcoded DoH upgrade mapping for use in automatic mode.
const base::Feature kDnsOverHttpsUpgrade {
"DnsOverHttpsUpgrade",
-#if BUILDFLAG(IS_CHROMEOS_ASH) || defined(OS_MAC) || defined(OS_ANDROID) || \
- defined(OS_WIN)
- base::FEATURE_ENABLED_BY_DEFAULT
-#else
base::FEATURE_DISABLED_BY_DEFAULT
-#endif
};
// If this feature is enabled, the mDNS responder service responds to queries
|