Hi all,
It had been a while so I updated docker and Pi-hole to the latest.
Weird fault here. Wireless clients have no issues ever.
Wired clients, including the system docker is on will have 90% of nslookups fail.
nslookup news.com.au 192.168.20.22
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: 192.168.20.22
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
Request to UnKnown timed-out
The request gets to Pi-Hole, I can see it hit pihole.log but it doesn't get a reply.
If I do a dig from Pi-Hole through Docker Exec, it works fine, and I see the Pi-Hole.log get the reply.
# dig news.com.au
; <<>> DiG 9.16.48-Debian <<>> news.com.au
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17030
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;news.com.au. IN A
;; ANSWER SECTION:
news.com.au. 18 IN A 104.116.108.143
;; Query time: 60 msec
;; SERVER: 127.0.0.11#53(127.0.0.11)
;; WHEN: Tue May 28 20:54:02 AEST 2024
;; MSG SIZE rcvd: 45
So is docker doing some funky NAT that isn't quite right? The wireless clients are working fine.
Docker Version 4.30.0 (149282) Engine: 26.1.1 Compose: v2.27.0-desktop.2
Pi-Hole settings
Interface is accepting from all origins.
NO DHCP
Using Cloudflare DNS
Docker-Compose
version: "3"
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
ports:
- "53:53/tcp"
- "53:53/udp"
# - "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
- "81:80/tcp"
environment:
TZ: 'Australia/Brisbane'
WEBPASSWORD: 'password'
# WEBPASSWORD: 'set a secure password here or it will be random'
# Volumes store your data between container upgrades
volumes:
- './etc-pihole:/etc/pihole'
- './etc-dnsmasq.d:/etc/dnsmasq.d'
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
# cap_add:
# - NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed
restart: unless-stopped
Appreciate any help!
I did try a rebuild with the IP listed but it didn't seem to change anything for me, but perhaps I didn't manually delete the files. I have read others have found this to be a solution for their issues.
ports:
- "192.168.20.22:53:53/tcp"
- "192.168.20.22:53:53/udp"
Cheers
Garby