Hi all - please tell me if I’m doing this wrong:

My 12yo spends all day on YouTube shorts. I want to block it, but can only block YouTube entirely. Blocking for everyone would upset my 15yo, so I need per-client domain filtering.

That was easy on Pi-hole. But my Raspberry died and I heard praise for Adguard Home so now I run that as a Docker container.

  1. I can’t figure out how to block YouTube for only some devices. Is that not possible with Adguard? Claude gives me complicated nonsense; you can easily do better.

I want to ditch Adguard and go back to Pihole. The caveat is that I must let Pihole run the DHCP server, in order to get correct per-client blocking. That’s a pity, as I have a neat UniFi network set up.

  1. Can I get Pihole’s per-client blocking without Pihole as DHCP?

I don’t mind setting it all up in Pihole again because I know it works (it’s how I had it before the Raspberry died). But I would love to know if I am going about this the wrong way? Thank you!

  • cannedtuna@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    11 hours ago

    Posting here so I remember to share my UniFi setup later. Off the top of my head UniFi manages my DHCP leases like normal, and I set my DNS to my Pihole server with I forget what logging option on so I get full metrics in Pihole of what clients are what for each DNS request.

    • AliasVortex@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      8 hours ago

      That sounds pretty similar to how I have my network setup:

      • PiHole has conditional forwarding configured (true,192.168.0.0/24,192.168.1.1,lan note: .lan is optional here, I uss it for my internal TLD) to get device names from router
      • PiHole uses Unifi as the upstream DNS and DHCP
      • Unifi uses cloudflare as the upstream DNS
      • Unifi hands out the PiHole as the DNS via DHCP config

      That way I get stats in all the places and can use Unifi for DHCP.