Block domains device-specific

Hello,

Is it possible to block some domains only for some specific devices?
I want to reach for example google.com on device A but noch on device B.

Greets

Basically, no. Dnsmasq doesn't support different DNS records for different clients.

Related:

You could run multiple instances of pihole (e.g. in LXC/Docker container, different virtual machines or even physical devices) and assign them different ip in your lan. Next, simply set DNS to point to IP per your needs:) After flushing the dns cache (automatic over time, can be triggered on Windows by ipcoonfig /all), you are good to go :slight_smile:

Have had a similar idea and this seems to be the way to go IF I would like to use PiHole for such detailed management.

However, IMHO PiHole is rather -per design - a tool to be effortless in setup and use, while firewalls are rather something that can do such detailed actions (iptables for linux).