blob: 8ec8edf0bba5eb1fa0a71503536f379272edc8ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
<!doctype html>
<html lang="EN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/style.css">
<title>Bloggings</title>
</head>
<body>
<header>
<h1>Bloggings</h1>
<a href="/index.php">Back</a>
</header>
<main>
<article>
<h2>Protecting your computer with a hosts file</h2>
<h3>19-11-2023</h3>
<p><a href="https://sebsauvage.net/wiki/doku.php?id=accueil">Sebsauvage</a> has put together a great hosts file:
<a href="https://sebsauvage.net/wiki/doku.php?id=dns-blocklist-en">dns-blocklist</a>
</p>
<p>
DNS filtering is a simple way of blocking the majority of ads, trackers and malicious sites with minimum effort. Set-up is fast and easily reversible.
</p>
<h3>On Linux</h3>
<code>sudo curl "https://sebsauvage.net/wiki/doku.php?do=export_code&id=dns-blocklist&codeblock=0" -o /etc/cron.weekly/hosts-update
sudo chmod +x /etc/cron.weekly/hosts-update</code>
<p>
Run the first update:
</p>
<code>sudo /etc/cron.weekly/hosts-update</code>
<h3>On Windows</h3>
<p>
Windows networking is a steaming pile of manure, but you can still install this file with caveats.
</p>
</article>
</main>
<footer>
<p> </p><p>§</p></footer>
</body></html>
|