Multi-instance Resolver OR Conditional DNS Queries
-
Following is the scenario I would like to implement:
- Two Subnets (SN1 & SN2)-- SN1 configured to use Squid/Proxy (kids network for blocking/filtering). SN2 has direct connectivity.
- Both subnets should use the pfSense resolver; however, for certain hosts/domain, they should resolve to a different IP based on if the query comes from SN1 versus SN2.
So, for example, if a PC on the SN1 network, tries to resolve www.google.com, then it should resolve to a "Safe Search" IP; however, a PC on SN2 network should resolve to general google IP.
-
https://nlnetlabs.nl/documentation/unbound/unbound.conf/ RTFM and look at the "View Options".