If Linux system fails to obey /etc/hosts Please use DNSMasq setup to block the domains listed on /etc/hosts