That “example” becomes obsolete in the presence of
ECH.
A better hope is to try and force all DNS to the router’s caching server, then selectively blackhole the unwanted domain names, but then you stumble on the problem of client-side DoH/DoT.
Again, this has all been discussed to death here before. There’s no need to recapitulate it all.