Implement feedback

This commit is contained in:
Daniel
2020-09-23 14:11:44 +02:00
parent 34247b1d82
commit 5df7182b5d
2 changed files with 3 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ func PreventBypassing(conn *network.Connection) (endpoints.EPResult, string, nsu
if strings.ToLower(conn.Entity.Domain) == "use-application-dns.net." {
return endpoints.Denied,
"blocked canary domain to prevent enabling of DNS-over-HTTPs",
nsutil.NxDomain("blocked canary domain to prevent enabling of DNS-over-HTTPs")
nsutil.NxDomain("")
}
return endpoints.NoMatch, "", nil