Router method is obviously easier. But you can still use a Pi for DNS ad blocking if your router wont redirect. You just have to manually change each device to use the Pi server. Just a one time thing though, set it once and done. So its not awful to do it that way.