mirror of
https://github.com/pi-hole/docs.git
synced 2024-12-06 19:27:12 +01:00
Apply suggestions from code review
Co-authored-by: yubiuser <ckoenig@posteo.de> Signed-off-by: DL6ER <DL6ER@users.noreply.github.com>
This commit is contained in:
@@ -125,12 +125,14 @@ Dieser Eintrag kann dann unter
|
||||
Internet/Filter/Priorisierung -> Echtzeitanwendungen -> Neue Regel
|
||||
```
|
||||
|
||||
hinzugefügt werden. Da sämtliche Einstellungen über das Pi-hole gehen, wählen Sie dieses als Gerät aus, für das die Regel gelten soll. Sollten Sie sich unsicher sein, kann hier auch "`Alle Geräte`" ausgewählt werden. Unter "`Netzwerkanwendung`" wählen Sie den soeben angelegten Eintrag "`DNS`" aus.
|
||||
hinzugefügt werden. Wählen Sie nun ihr Pi-hole aus. Sollten Sie sich unsicher sein, kann hier auch "`Alle Geräte`" ausgewählt werden. Unter "`Netzwerkanwendung`" wählen Sie den soeben angelegten Eintrag "`DNS`" aus.
|
||||
|
||||
## Optional: DNS Anfragen nur vom Pi-hole erlauben
|
||||
|
||||
Nach der Konfiguration des Pi-holes als DNS Server des Netzwerks ist die Einrichtung abgeschlossen. Es bleibt jedoch weiterhin das Risiko einer Umgehung des Pi-holes bestehen - Netzwerkgeräte können sich direkt mit anderen, frei verfügbaren, DNS Servers im Internet verbinden. Dies kann durch eine geeignete Fiterregel jedoch einfach verhindert werden.
|
||||
|
||||
!!! warning
|
||||
Einige Geräte oder Programme nutzen fest hinterlegte DNS Server und funktionieren ggfs. nicht mehr ordnungsgemäß falls sie diesen DNS Server nicht erreichen können. Fall solch ein Verhalten auftritt, können Sie dieses Gerät von der Filterregel ausnehmen ausnehmen.
|
||||
Insofern nicht bereits vorhanden, legen Sie unter
|
||||
|
||||
``` plain
|
||||
@@ -143,7 +145,7 @@ zwei Zugangsprofile an (z.B. "`Standard`" und "`Unbeschränkt`"). Im Profil "`St
|
||||
Erweiterte Einstellungen -> Gesperrte Netzwerkanwendungen
|
||||
```
|
||||
|
||||
die oben angelegte Netzwerkanwendung "`DNS`" hinzu.
|
||||
die wie unter `Optional: Erhöhung der Priorität von DNS Anfragen` beschrieben angelegte Netzwerkanwendung "`DNS`" hinzu.
|
||||
Im Profil "`Unbeschränkt`" darf "`DNS`" *nicht* als gesperrt hinterlegt werden.
|
||||
|
||||
Nun werden die Zugangsprofile unter
|
||||
|
||||
@@ -112,7 +112,6 @@ Source port: any
|
||||
Destination port: 53
|
||||
```
|
||||
|
||||
should be added.
|
||||
|
||||
This entry can then be added under
|
||||
|
||||
@@ -120,19 +119,22 @@ This entry can then be added under
|
||||
Internet/Filter/Prioritization -> Real-time applications -> New rule
|
||||
```
|
||||
|
||||
Since all settings go through the Pi-hole, select this as the device to which the rule should apply. If you are unsure, "`All devices`" may also be useful selection here. As "`Network Application`" select the entry you just created "`DNS`".
|
||||
Select your Pi-hole as the device to which the rule should apply. If you are unsure, "`All devices`" may also be useful selection here. As "`Network Application`" select the "`DNS`" entry you just created.
|
||||
|
||||
## Optional: Allow DNS queries only from the Pi-hole
|
||||
|
||||
After configuring the Pi-hole as the network's DNS server, the setup is complete. However, there is still a risk of clients trying to bypass your Pi-hole as network devices can connect directly to other, freely available, DNS servers on the Internet. However, this can be easily prevented by a suitable filter rule.
|
||||
|
||||
!!! warning
|
||||
Some devices or applications use hard-coded DNS servers and may not work as expected if they can't be reached. If you observe such behavior, you can easily remove the affected device from this filter.
|
||||
|
||||
If not already present, create two access profiles (e.g. "`Standard`" and "`Unrestricted`") under
|
||||
|
||||
``` plain
|
||||
Internet/Filters/Access Profiles -> Manage and Optimize Access Profiles
|
||||
```
|
||||
|
||||
In the profile "`Standard`" add the network application "`DNS`" created above under:
|
||||
In the profile "`Standard`" add the network application "`DNS`" (created above in `Optional: Increasing the priority of DNS requests`) under:
|
||||
|
||||
``` plain
|
||||
Advanced settings -> Locked network applications
|
||||
|
||||
Reference in New Issue
Block a user