Custom DNS for certain clients
-
So, I wanted certain clients to have a sort of whitelist only DNS while everyone else gets normal DNS service.
So what i ended up doing was creating a pihole DNS server (with the default action to deny all requests, except those domains on a whitelist) and create a NAT rule, that matches an alias when one of the restricted IP addresses makes a DNS lookup it forwards the request to the pihole server, while everyone else gets to hits the PFsense DNS server.