packet & lua script

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

packet & lua script

ilana_omer
This post has NOT been accepted by the mailing list yet.
I'm writing a lua script that decide if to allow DNS resolving according to the source IP of the request.

1) Does the packet cache contains the IP in its key? or just the domain to resolve?
2) Does the pre-resolve hook is skipped for cached data or skipped?
3) If I return NXDOMAIN in the pre-resolve hook for google.com for IP1, does IP2 will get same reply?

10x