Log DNS request

wesdev nginx-forum at forum.nginx.org
Fri Sep 28 15:17:05 UTC 2018


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. 

Thanks

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



More information about the nginx mailing list