aboutsummaryrefslogtreecommitdiff
path: root/articles/2023/protecting-your-computer-with-a-hosts-file.html
diff options
context:
space:
mode:
authorPhilip Wittamore <philip@wittamore.com>2026-07-12 11:08:50 +0200
committerPhilip Wittamore <philip@wittamore.com>2026-07-12 11:08:50 +0200
commit420ceb49b53a8fa9d8ba8443e42e50cd7bd7cea9 (patch)
tree3009f0564d75e3f7d1ca38507e7ebb92deaded07 /articles/2023/protecting-your-computer-with-a-hosts-file.html
update
Diffstat (limited to 'articles/2023/protecting-your-computer-with-a-hosts-file.html')
-rwxr-xr-xarticles/2023/protecting-your-computer-with-a-hosts-file.html42
1 files changed, 42 insertions, 0 deletions
diff --git a/articles/2023/protecting-your-computer-with-a-hosts-file.html b/articles/2023/protecting-your-computer-with-a-hosts-file.html
new file mode 100755
index 0000000..8ec8edf
--- /dev/null
+++ b/articles/2023/protecting-your-computer-with-a-hosts-file.html
@@ -0,0 +1,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>&nbsp;</p><p>ยง</p></footer>
+</body></html>