Reputation: 823
I want to block all websites which url contains 'games' keyword.
I know, this is the single method:
127.0.0.1 http://games.com/
But, how can i block all 'games' websites?
I tried this, but not working:
127.0.0.1 http://*games*
Upvotes: 0
Views: 315
Reputation: 529
Wildcard matching isn't supported in C:\Windows\System32\Drivers\etc\hosts
on Windows nor in /etc/hosts
on Linux.
If you want to use wildcard matching for 'games', you'll have to download a local DNS proxy that has this feature.
Upvotes: 2