This commit is contained in:
Simon Zolin
2020-05-29 11:46:37 +03:00
parent 78648649fe
commit bccb939346
4 changed files with 9 additions and 4 deletions

View File

@@ -40,8 +40,10 @@ func processQueryLogsAndStats(ctx *dnsContext) int {
ClientIP: getIP(d.Addr),
}
if d.HTTPRequest != nil {
if d.Proto == "https" {
p.ClientProto = "doh"
} else if d.Proto == "tls" {
p.ClientProto = "dot"
}
if d.Upstream != nil {