Skip to content

Commit

Permalink
dns: make request info available to plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
buffrr committed Mar 20, 2021
1 parent a4aa0db commit 50001e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dns/server.js
Expand Up @@ -405,7 +405,7 @@ class RootServer extends DNSServer {
if (typeof this.middle === 'function') {
let res;
try {
res = await this.middle(tld, req);
res = await this.middle(tld, req, rinfo);
} catch (e) {
this.logger.warning(
'Root server middleware resolution failed for name: %s',
Expand Down

0 comments on commit 50001e2

Please sign in to comment.