At home I have a Pi-hole in service which acts as my central DNS provider for all devices in my network. This means that by default all devices share the same filter lists, so effectively ads are blocked on all devices.
This setup is most likely the setup most people need and prefer. For our home it's not working, because some devices should see clear and unfiltered DNS entries. Let's see how we can exclude certain devices from the filter lists.
Since Pi-hole v5.0, which has been released in 2020-05, groups can be configured.
Known devices can be put into groups which can have different filter lists assigned to them.
The group management can be found under
In my setup I created a group for all my devices which I named
By default this group does nothing.
First devices need to be assigned to the group.
Those settings can be found under
After that the adlists need to be configured and attached to the group.
In my case I removed all of the lists from the
default group and attached them only to the
With this configuration all devices listed in the
dotcs group see filtered DNS entries whereas all other devices see unfiltered DNS entries.
Thanks to the Pi-hole developers for this awesome feature and please consider donating to the project if you like it.