DoH domain resolving and parsing improvments

This commit is contained in:
Vladimir
2022-05-17 16:59:44 +03:00
parent 0d21ee7d0d
commit 5effb509c1
4 changed files with 250 additions and 87 deletions

View File

@@ -30,6 +30,10 @@ const (
ServerSourceEnv = "env"
)
const (
HttpsProtocol = "https"
)
// FailThreshold is amount of errors a resolvers must experience in order to be regarded as failed.
var FailThreshold = 20