Help in policy whitelist/blacklist

Good morning

I'm using Pi-Hole in my local network, this works perfect. But i have a question. Actually all hosts of my network uses the same policy (for whitelist/blacklist).

There is possible to control access for some hosts in my local network? Like:

192.168.1.2 can access everything but can't access youtube, facebook
192.168.1.3 can access only: https://www.receita.fazenda.gov.br/

Thanks for your attention!
.

No. Pi-Hole treats all clients the same, and blocks all domains equally for all clients.

At its basic, Pi-Hole listens for DNS requests. They can come in from any client, and they all are answered the same. If the domain is blocked, Pi-hole returns NULL. If not blocked, Pi-Hole returns the IP.

There are a few options available to you:

  1. Use multiple Pi-holes, and tailor each for its client set.
  2. Use firewall rules in your router to filter by client.
  3. Block the domains at the client level. For example, if .2 is a PC, then assign YouTube, Facebook, etc with the NULL IP (0.0.0.0) on the PC hosts file.

I will do this with any of your suggestions.
Thanks for your attention! :slight_smile:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.