Sys-vpn /etc/hosts

You can use pi-hole for this.
You can use this tool from @unman to setup you pihole qube:

Or search on this forum to see how to configure it manually.