Conditional blacklists

I'm wondering whether it was possible to add conditional blacklists based on a client's MAC address (unsure if the local DHCP would have to be enabled or not)?

The purpose for this would be to block additional domains for specific clients in the network, more specifically "devices of all non-adults in the network are blocked from xyz.com", in addition to the normal lists.

In theory this could also be applied to whitelists, of course...

@whiten01se you'll be interested in the discussion here

Per-Client blocking is implemented in v5.0 via Group management.
MAC-based group assigment is in development.

1 Like

Came here looking for this feature - I may give Pi-Hole a try now! How are groups implemented? Hostname? IP addr?

Currently, groups contain clients defined by IP only.
In a next version of pihole (see the linked thread) definitions based on MAC and hostnames will be possible.

1 Like

I am testing blocking by MAC address by using the corresponding development version already and it works very nice. I have not had a single false-positive myself.

1 Like

This has been released with