feat: block websites uising etc hosts

This commit is contained in:
Krzysztof Rudnicki 2024-12-27 21:49:30 +01:00
parent 90411ddf7d
commit ba172c51b9
2 changed files with 19 additions and 0 deletions

16
hosts/hosts Normal file
View File

@ -0,0 +1,16 @@
# Static table lookup for hostnames.
# See hosts(5) for details.
#
127.0.0.1 store.steampowered.com
127.0.0.1 steamcommunity.com
127.0.0.1 help.steampowered.com
127.0.0.1 api.steampowered.com
127.0.0.1 media.steampowered.com
127.0.0.1 cdn.steampowered.com
127.0.0.1 client-download.steampowered.com
127.0.0.1 steampowered.com
127.0.0.1 steamcdn-a.akamaihd.net
127.0.0.1 steamgames.com
127.0.0.1 cdn.akamai.steamstatic.com
127.0.0.1 cdn.cloudflare.steamstatic.com

3
hosts/install.sh Normal file
View File

@ -0,0 +1,3 @@
!#/bin/bash
sudo cp hosts /etc/hosts
sudo systemd-resolve --flush-caches