cherry-pick: upd-domains-and-links
Merge in DNS/adguard-home from upd-domains-and-links to master Squashed commit of the following: commit 5e5ff2fec358104995877da689da24749ac470ce Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Thu Jul 28 19:53:19 2022 +0300 all: upd urls Update domains and URLs to make them more resistant to state blocking.
This commit is contained in:
committed by
Ainar Garipov
parent
fc951c1226
commit
af4ff5c748
@@ -24,10 +24,11 @@ import (
|
||||
|
||||
// Safe browsing and parental control methods.
|
||||
|
||||
// TODO(a.garipov): Make configurable.
|
||||
const (
|
||||
dnsTimeout = 3 * time.Second
|
||||
defaultSafebrowsingServer = `https://dns-family.adguard.com/dns-query`
|
||||
defaultParentalServer = `https://dns-family.adguard.com/dns-query`
|
||||
defaultSafebrowsingServer = `https://family.adguard-dns.com/dns-query`
|
||||
defaultParentalServer = `https://family.adguard-dns.com/dns-query`
|
||||
sbTXTSuffix = `sb.dns.adguard.com.`
|
||||
pcTXTSuffix = `pc.dns.adguard.com.`
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user