services:
pihole:
container_name: pihole
image: pihole/pihole:latest
ports:
# DNS Ports (sΓ, estos son esenciales)
- "53:53/tcp"
- "53:53/udp"
# Interfaz web
- "8180:80/tcp"
# HTTPS opcional, puedes mantenerlo si quieres acceso seguro
# "443:443/tcp"
# - "67:67/udp"
# - "123:123/udp"
environment:
TZ: 'Europe/Madrid' # o tu zona exacta
FTLCONF_webserver_api_password: 'mypassword'
FTLCONF_dns_listeningMode: 'all' # para escuchar en todas las interfaces
volumes:
- './etc-pihole:/etc/pihole'
# si no migras desde v5, no necesitas este
# - './etc-dnsmasq.d:/etc/dnsmasq.d'
cap_add:
# - NET_ADMIN
- SYS_TIME
- SYS_NICE
restart: unless-stopped
**
Setup**
-
Router: Movistar RTF8115VW
-
LAN IP:
192.168.1.1 -
DHCP enabled
-
Primary DNS:
192.168.1.88(Pi-hole) -
Secondary DNS:
0.0.0.0 -
DNS Relay: Disabled
-
-
Pi-hole: running on Raspberry Pi
- Static IP:
192.168.1.88
- Static IP:
-
Mesh system: TP-Link Deco AX1500 in Access Point mode
- All clients connected through Deco Wi-Fi
-
Clients get IPs like
192.168.1.xxx
Pi-hole works, but barely blocks anything. The dashboard shows only a few queries.
Previously (in a simpler setup) every new webpage increased the query counter immediately, but now it increases very slowly β like if most DNS requests are bypassing Pi-hole.
What I Already Did
Confirmed Pi-hole is working locally:
dig @192.168.1.88 google.com
dig @192.168.1.88 google.com ξ² β ξ³ 5s ο
; <<>> DiG 9.20.13 <<>> @192.168.1.88 google.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 15595
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;google.com. IN A
;; Query time: 0 msec
;; SERVER: 192.168.1.88#53(192.168.1.88) (UDP)
;; WHEN: Sun Nov 02 15:55:34 CET 2025
;; MSG SIZE rcvd: 39
cat /etc/resolv.conf
ββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β File: /etc/resolv.conf
ββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1 β # Generated by NetworkManager
2 β nameserver 192.168.1.88
3 β nameserver 9.9.9.9
Router DHCP DNS set to only 192.168.1.88, no fallback DNS.
Restarted router, Pi-hole, Deco, and all devices.
Deco is in Access Point mode, not Router mode.
All clients have IPs in the same range (192.168.1.x).
In the BASIC configuration of my router I have:
In the Advanced configuration of my router I have:
and inside of each one I have:
0
1
2
Still, Pi-hole only logs a few requests.
I want all DNS traffic in my network (wired and wireless through Deco AP) to go through Pi-hole for proper filtering.
What should I check or disable on the Movistar router to ensure DNS requests go directly to Pi-hole and not through the router itself?
What Iβm doing wrong?
Thanks!











