Log DNS request

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Log DNS request

I currently have a DNS proxy that I would like to sinkhole certain domains.
For various reasons, I don't want to this within a DNS server itself. Is
there any way within the stream module to retrieve the domain from the
question portion of the DNS request? I don't see any existing variables that
can help me achieve this. Any help appreciated.


Posted at Nginx Forum: https://forum.nginx.org/read.php?2,281443,281443#msg-281443

nginx mailing list
[hidden email]