I assumed the invert
option only affected the querytype
, but after doing some more tests, I must conclude it works as follows (correct me if I'm wrong).
regex from this topic
".*;querytype=A;invert
- pihole-FTL looks at the result of
pihole-FTL regex-test "google.be" ".*;querytype=A"
, result:.*;querytype=A matches
- pihole-FTL than inverts the result.
There appears to be no way to achieve what I wanted (hoped for), apply all rules (gravity, regex, ...) but only allow A queries for a specific device (with a single regex).
I totally misinterpreted the invert
function, my mistake...