This seems like a lot of work. I just point my router at AdGuard DNS and that takes care of all ads on every device on my network. No filter lists, nothing to host, completely free.
Only caveat is it doesn’t block ads served by the content provider itself e.g. some streaming services, but from what I hear those are difficult to block with any approach.
Only caveat is it doesn’t block ads served by the content provider itself e.g. some streaming services, but from what I hear those are difficult to block with any approach.