Unable to filter Domains - Recursor 4.x behind dnsdist
This post was updated on .
I am running an alpha release of Recursor 4.x for the domain filtering option. After configuring the lua scripts I was able to test a successfull query from the Recursor Local Host by adding it into the IP Filters file. However, when I try from my remote host the filter does not work. I am running the Recursor behind dnsdist with "useclientsubnet" directive enabled. I confirmed the LB is sending OPT packed with the EDNS client subnet embedded into the DNS Query.
I suspect Lua is not parsing this data properly and parsing all traffic from the IP source being that of the Load Balancer. Should I be using a "getEDNSOption" to explicitly tell the Lua script to look for the EDNS client subnet in order to properly match my filters?