bug 1470005 - change default TRR blacklist duration to 60 seconds r?mcmanus draft
authorDaniel Stenberg <daniel@haxx.se>
Wed, 20 Jun 2018 23:44:19 +0200
changeset 808835 96b32afc914da6f56e902c94f22a2bbcf3d976b1
parent 808416 257c191e7903523a1132e04460a0b2460d950809
push id113515
push userbmo:daniel@haxx.se
push dateWed, 20 Jun 2018 21:53:08 +0000
reviewersmcmanus
bugs1470005
milestone62.0a1
bug 1470005 - change default TRR blacklist duration to 60 seconds r?mcmanus MozReview-Commit-ID: FGQCmhlBBG8
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -5295,18 +5295,19 @@ pref("network.trr.allow-rfc1918", false)
 // Use GET (rather than POST)
 pref("network.trr.useGET", false);
 // Before TRR is widely used the NS record for this host is fetched
 // from the DOH end point to ensure proper configuration
 pref("network.trr.confirmationNS", "example.com");
 // hardcode the resolution of the hostname in network.trr.uri instead of
 // relying on the system resolver to do it for you
 pref("network.trr.bootstrapAddress", "");
-// TRR blacklist entry expire time (in seconds). Default is 20 minutes.
-pref("network.trr.blacklist-duration", 1200);
+// TRR blacklist entry expire time (in seconds). Default is one minute.
+// Meant to survive basically a page load.
+pref("network.trr.blacklist-duration", 60);
 // Single TRR request timeout, in milliseconds
 pref("network.trr.request-timeout", 3000);
 // Allow AAAA entries to be used "early", before the A results are in
 pref("network.trr.early-AAAA", false);
 
 pref("captivedetect.canonicalURL", "http://detectportal.firefox.com/success.txt");
 pref("captivedetect.canonicalContent", "success\n");
 pref("captivedetect.maxWaitingTime", 5000);