summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-06-14 01:01:50 +0200
committerAhmed Abdelhalim <[email protected]>2026-06-14 01:01:50 +0200
commit94c7beac4fc43eaf26c5f3836ee079f650f24b26 (patch)
treeeaa62c69ba5e6fa0a4034f393423d217a04dbd52 /roles
parent938d39ba3300c5d01ae84f978f511f058cfee3ac (diff)
Update pihole docs and fix minor issue with handlers
Diffstat (limited to 'roles')
-rw-r--r--roles/pihole/README.md8
-rw-r--r--roles/pihole/tasks/main.yml1
2 files changed, 7 insertions, 2 deletions
diff --git a/roles/pihole/README.md b/roles/pihole/README.md
index da95c866..474e15af 100644
--- a/roles/pihole/README.md
+++ b/roles/pihole/README.md
@@ -19,10 +19,16 @@ This role configure the [pihole](https://github.com/pi-hole/pi-hole) DNS Sinkhol
Update the following
- Home Network > Network > Network Settings > Change Advanced Network Settings >
+ - IPv4 > DHCP > Enable DHCP server > Disabled
- IPv6 > DNSv6 Server in the Home Network > Router advertisement enable in the LAN > Disabled
- IPv6 > DNSv6 Server in the Home Network > Disable DHCPv6 server in the FRITZ!Box >
- There are no other DHCPv6 servers in the home network.
- - IPv4 > DHCP > Enable DHCP server > Disabled
+- Internet > Filter > Lists > Network Applications > Add Network Application >
+ - Name: DNS, Protocol: UDP, Source Port: Any, Destination Port: 53
+ - Name: DNS, Protocol: TCP, Source Port: Any, Destination Port: 53
+- Internet > Prioritization > Real-Time Applications > Create New Rule
+ - Device: {{ pihole_device_name }}, Application: DNS
+- Internet > Account Information > IPv6 > IPv6 Support > Disabled
- Internet > Account Information > DNS Server > DNSv4 Server >
- Use Other DNSv4 Servers > {{ pihole_ipv4 }}
- Use Other DNSv6 Servers > {{ pihole_ipv6 }}
diff --git a/roles/pihole/tasks/main.yml b/roles/pihole/tasks/main.yml
index 3184860d..4888e578 100644
--- a/roles/pihole/tasks/main.yml
+++ b/roles/pihole/tasks/main.yml
@@ -42,7 +42,6 @@
owner: "pihole"
group: "pihole"
mode: "0644"
- notify: "Restart pihole"
no_log: true
# pihole.toml is being rewritten after successful setup
# This is why this task is not idempotent and can't be.