hosts file will grow with records + you need to run specific scripts to update it. One of the similar options will be to use DNS resolver with built in filters (like pi-hole, but "cloud"), for example: https://nextdns.io, even free version is OK.
No comments yet.