Block a domain (with all domains) system-wide

خرید بک لینک

I'm trying to block my computer from "accidentally" sending any requests to a certain domain I don't trust (and all of it's subdomains). I tried adding this entry to my /etc/hosts file:

127.0.0.0       google.com

And in fact, after the DNS cache wears off or is flushed, all requests to the domain fail, because they resolve to local address instead of the real one. Unfortunately, requests to a subdomain of the domain still are not blocked.

What's the best way to block/disable all the subdomain as well?

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 217 تاريخ: شنبه 25 ارديبهشت 1395 ساعت: 20:23

صفحه بندی