Add metadata to special responder responses

This commit is contained in:
Daniel 2022-08-02 13:59:38 +02:00
parent 0b81fb5516
commit 1dda4bd432

View file

@ -231,7 +231,7 @@ func handleRequest(ctx context.Context, w dns.ResponseWriter, request *dns.Msg)
// the resolving as it wishes.
if responder, ok := conn.Reason.Context.(nsutil.Responder); ok {
tracer.Infof("nameserver: handing over request for %s to special filter responder: %s", q.ID(), conn.Reason.Msg)
return reply(responder)
return reply(responder, conn)
}
// Check if there is a Verdict to act upon.