Bug 1618215 - Set correct resolvers in doh-rollout.trrRace.trrList. r=dragana

Differential Revision: https://phabricator.services.mozilla.com/D64605

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Johann Hofmann 2020-02-27 20:25:52 +00:00
parent 63ca81fcba
commit 90303814ab

View File

@ -65,7 +65,15 @@ XPCOMUtils.defineLazyPreferenceGetter(
"doh-rollout.trrRace.trrList",
null,
null,
val => (val ? val.split(",").map(t => t.trim()) : [])
val =>
val
? val.split(",").map(t => t.trim())
: [
"https://doh.opendns.com/dns-query",
"https://mozilla.cloudflare-dns.com/dns-query",
"https://trr.dns.nextdns.io/",
"https://doh.xfinity.com/dns-query",
]
);
// The canonical domain whose subdomains we will be resolving.