The internet is broken!
Vorwort:Wir haben es geschafft.
Das Internet ist ohne Werbeblocker unbenutzbar geworden.
Beispiel derStandard.at

Beispiel tomshardware.com

... mal kurz auf's Klo gegangen

... kein Ende in Sicht...
(kein Klick, nur im Hintergrund stehen gelassen)

ohne Worte

DNS performance Messung vor der Umstellung | 192.168.1.1 = Unifi USG

Potenzielle Lösung
Wenn man Adblocker-Warnungen leid ist?
Funktioniert auf (*fast) allen Geräten, im Netzwerk (Smartphone, SmartKlo, SmartAI)
*fast => Devices wie Chromecast haben fixe DNS (gibt dafür aber auch
Lösungen)
PiHole! - Tutorial time1.) Get a raspberry Pi

2.) Raspbian Lite als OS installieren

3.) System auf aktuellen Stand bringen
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get autoremove
sudo apt-get autoclean
4.) PiHole installieren
curl -sSL [url]https://install.pi-hole.net[/url] | bash
PiHole Settings
- Select Upstream DNS Provider: Cloudflare (1.1.1.1 und 1.0.0.1)
- Select Lists: ich habe alle Ad- bzw. Tracking-Blocking-Listen ausgewählt
- Select Protocols: IPv4 und IPv6 (sofern eure Geräte IPv6 unterstützen)
- Do you want to use your current network settings as a static address: Hier habe ich die statische IP des Raspberry Pis und die Adresse des Routers angegeben.
- Do you wish to install the web admin interface: Ja
- Do you wish to install the web server (lighttpd): Ja
- Do you want to log queries: Ja
- Select a privacy mode for FTL: “Show everything”
6.) PiHole Admin Passwort setzen
pihole -a -p
7.) PiHole Weboberfläche aufrufen
(durch eigene IP ersetzen)
http://192.168.1.2/admin

8.) DNS setzen (lokal oder via DHCP)

This is it
Ergebnis



DNS Performance passt

Warum hier stoppen?
Unbound InstallationWir installieren unseren eigenen DNS, mit BlackJack und Nutten!
Adé, Google/Cloudflare/ISP DNS-Server
1.) Unbound installieren
$ sudo apt install unbound
wget -O root.hints [url]https://www.internic.net/domain/named.root[/url]
sudo mv root.hints /var/lib/unbound/
2.) Konfigurationsfile erstellen
sudo vi /etc/unbound/unbound.conf.d/pi-hole.conf
3.) Inhalt Konfigurationsfile
server:
# If no logfile is specified, syslog is used
# logfile: "/var/log/unbound/unbound.log"
verbosity: 0
port: 5353
do-ip4: yes
do-udp: yes
do-tcp: yes
# May be set to yes if you have IPv6 connectivity
do-ip6: no
# Use this only when you downloaded the list of primary root servers!
root-hints: "/var/lib/unbound/root.hints"
# Trust glue only if it is within the servers authority
harden-glue: yes
# Require DNSSEC data for trust-anchored zones, if such data is absent, the zone becomes BOGUS
harden-dnssec-stripped: yes
# Don't use Capitalization randomization as it known to cause DNSSEC issues sometimes
# see [url]https://discourse.pi-hole.net/t/unbound-stubby-or-dnscrypt-proxy/9378[/url] for further details
use-caps-for-id: no
# Reduce EDNS reassembly buffer size.
# Suggested by the unbound man page to reduce fragmentation reassembly problems
edns-buffer-size: 1472
# Perform prefetching of close to expired message cache entries
# This only applies to domains that have been frequently queried
prefetch: yes
# One thread should be sufficient, can be increased on beefy machines. In reality for most users running on small networks or on a single machine it should be unnecessary to seek performance enhancement by increasing num-threads above 1.
num-threads: 1
# Ensure kernel buffer is large enough to not lose messages in traffic spikes
so-rcvbuf: 1m
# Ensure privacy of local IP ranges
private-address: 192.168.0.0/16
private-address: 169.254.0.0/16
private-address: 172.16.0.0/12
private-address: 10.0.0.0/8
private-address: fd00::/8
private-address: fe80::/10
3.) Service restart
sudo service unbound start
4.) IP in PiHole Weboberfläche setzen

DNS Performance passt auch
Blacklist & Whitelist management

Blacklist:
https://v.firebog.net/hosts/lists.php?type=tickWhitelist:
https://github.com/anudeepND/whitelist (
https://raw.githubusercontent.com/a...s/whitelist.txt)
https://firebog.net/ (unten)
Quellen:
https://community.ui.com/questions/...3d-0b55320101dchttps://medium.com/@natterstefan/mi...ss-5f087a13ff5ahttps://www.mielke.de/blog/Mit-dem-...inrichten--488/https://firebog.net/https://docs.pi-hole.net/guides/unbound/https://dougrathbone.com/blog/2018/...on-raspberry-pihttps://www.myhelpfulguides.com/201...g-edgerouter-x/