From 3d9499423229f9bb63e70923f0588692c8ddc879 Mon Sep 17 00:00:00 2001 From: Francois Marier Date: Thu, 16 Jan 2020 18:52:52 -0800 Subject: [PATCH] Whitelist DoH servers in the network auditor (brave/brave-browser#1864) This is needed because the Mac build machines use these OS resolvers: nameserver 8.8.8.8 nameserver 8.8.4.4 nameserver 1.1.1.1 nameserver 1.0.0.1 --- build/commands/lib/whitelistedUrlPrefixes.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/commands/lib/whitelistedUrlPrefixes.js b/build/commands/lib/whitelistedUrlPrefixes.js index a1da1d25d68d..117c1a8b3f57 100644 --- a/build/commands/lib/whitelistedUrlPrefixes.js +++ b/build/commands/lib/whitelistedUrlPrefixes.js @@ -28,5 +28,7 @@ module.exports = [ 'https://pdfjs.robwu.nl/logpdfjs', // allowed because it gets canceled in tracking protection 'https://publishers-distro.basicattentiontoken.org/', 'https://publishers-staging-distro.basicattentiontoken.org/', - 'https://p3a.brave.com/' + 'https://p3a.brave.com/', + 'https://dns.google/dns-query', // needed for DoH on Mac build machines + 'https://chrome.cloudflare-dns.com/dns-query', // needed for DoH on Mac build machines ]