Only hide successful queries of the system resolver

This commit is contained in:
Daniel
2022-02-25 15:35:21 +01:00
parent 1346123d6f
commit 6cbe33ae70
2 changed files with 6 additions and 5 deletions

View File

@@ -269,11 +269,6 @@ func NewConnectionFromDNSRequest(ctx context.Context, fqdn string, cnames []stri
dnsConn.Internal = localProfile.Internal
}
// Always mark dns queries from the system resolver as internal.
if proc.IsSystemResolver() {
dnsConn.Internal = true
}
// DNS Requests are saved by the nameserver depending on the result of the
// query. Blocked requests are saved immediately, accepted ones are only
// saved if they are not "used" by a connection.