Making suggested comments

This commit is contained in:
Chris Chapman 2022-09-30 15:03:33 -07:00
parent 399fafb679
commit 1b24aafb23
No known key found for this signature in database
GPG Key ID: CE72AB12033D3DEB
1 changed files with 2 additions and 0 deletions

View File

@ -93,6 +93,8 @@ func (b *BufferResponseWriter) TsigTimersOnly(bool) {}
// After a call to Hijack(), the DNS package will not do anything with the connection. {
func (b *BufferResponseWriter) Hijack() {}
// Query is a gRPC endpoint that will serve dns requests. It will be consumed primarily by the
// consul dataplane to proxy dns requests to consul.
func (s *Server) Query(ctx context.Context, req *pbdns.QueryRequest) (*pbdns.QueryResponse, error) {
pr, ok := peer.FromContext(ctx)
if !ok {