Pour bloquer les pubs, traqueurs et sites malveillants…
- Sur Windows
cmd en admin :
net stop dnscache
REG ADD "HKLM\SYSTEM\CurrentControlSet\Services\Dnscache" /v Start /t REG_DWORD /d "4"
notepad %systemroot%\system32\drivers\etc\hosts
C:\Windows\hosts
C:\winnt\system32\drivers\etc\hosts
C:\windows\system32\drivers\etc\hosts
ipconfig /flushdns
- Sur Linux, Unix, OS X
sudo pluma /etc/hosts
/private/etc/hosts
- Sur Android
DNS66 sur f-droid
http://jebaird.com/2012/12/21/hosts-to-ip-host-generating-blocked-hosts-from-a-host-file-for-a-cisco-router.html
root -> /system/etc/hosts
- Sur un réseau complet
avec la config dans le routeur
avec pi-Hole
Liste de Host
https://adaway.org/hosts.txt
http://winhelp2002.mvps.org/hosts.txt
https://hosts-file.net/ad_servers.txt
https://someonewhocares.org/hosts/hosts
https://www.malwaredomainlist.com/hostslist/hosts.txt
https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=1&mimetype=plaintext
https://sebsauvage.net/hosts/hosts
source :
winhelp2002.mvps.org/hosts.htm
sebsauvage.net/wiki/doku.php?id=dns-blocklist
firebog.net