@Summer said in Improve documentation DNS Forwarder:
pfBlocker-NG and DNS Resolver are both unbound: Resolver
No.
Unbound is a resolver. See, for example : NLnet Labs - Unbound - About or Unbound (DNS server).
pfBlockerng uses the local 'resolver' (unbound, in this case), add acts like a 'plugin' : it intercepts all DNS request received by unboud, typically from the LAN connected devices, and before unbound executes a 'resolve' for every request, pfBlockerng (the plugin) gets its hands on the request first.
This permits pfBlockerng to compare the request with a big list (the DNSBL feeds) to see if it concerns a 'blocked' domain. If it finds one, it instructs unbound to 'stop the actual resolbing' and say to the client : the IP requested is "0.0.0.0." (so the client can't connect to this IP => the requested domain is blocked).