mirror of
https://github.com/m13253/dns-over-https.git
synced 2026-03-30 12:05:38 +00:00
Slightly change the log format
This commit is contained in:
@@ -263,7 +263,7 @@ func (c *Client) handlerFunc(w dns.ResponseWriter, r *dns.Msg, isTCP bool) {
|
||||
if shouldPassthrough {
|
||||
numServers := len(c.bootstrap)
|
||||
upstream := c.bootstrap[rand.Intn(numServers)]
|
||||
log.Printf("Request %s %s %s is passed through %s.\n", questionName, questionClass, questionType, upstream)
|
||||
log.Printf("Request \"%s %s %s\" is passed through %s.\n", questionName, questionClass, questionType, upstream)
|
||||
var reply *dns.Msg
|
||||
var err error
|
||||
if !isTCP {
|
||||
|
||||
Reference in New Issue
Block a user