🚧 Reset pi-hole dns resolution and security notes

This commit is contained in:
tomit4 2025-09-05 00:17:05 -07:00
parent 21ff2961a6
commit 49510a5801
2 changed files with 12 additions and 1 deletions

View file

@ -17,7 +17,8 @@ services:
- FTLCONF_webserver_api_password=${WEBPASSWORD}
- FTLCONF_webserver_interface_theme=${WEBTHEME:-default-dark}
- FTLCONF_dns_upstreams=127.0.0.1#5335
- FTLCONF_dns_listeningMode=single
# - FTLCONF_dns_listeningMode=single
- FTLCONF_dns_listeningMode=all
- FTLCONF_webserver_port=80
volumes:
- etc_pihole-unbound:/etc/pihole:rw

View file

@ -913,3 +913,13 @@ paru -Rs duf-git && doas pacman -S duf
08/30/2025
Install pwgen
doas pacman -S pwgen
09/05/2025
Add security fields so pihole is not exposed to public:
doas ufw default deny incoming (not necessary here, you already did this, but here for documentation purposes)
doas ufw allow in on lo
doas ufw deny in proto udp to any port 53
doas ufw deny in proto tcp to any port 53
doas ufw disable && doas ufw enable
This is because of recent updates to pihole-unbound docker config file (re-run docker compose on this file)