Skip to content

Commit

Permalink
fix doh metadata protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
dyhkwong committed May 27, 2023
1 parent 44fd7c1 commit f325cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/dns/nameserver_doh.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ func (s *DoHNameServer) sendQuery(ctx context.Context, domain string, clientIP n
}

dnsCtx = session.ContextWithContent(dnsCtx, &session.Content{
Protocol: "https",
Protocol: "tls",
SkipDNSResolve: true,
})

Expand Down

0 comments on commit f325cdb

Please sign in to comment.