When I woke up this morning, I saw DNS issue across my network. I narrowed the issue down to Pi-hole as my upstream DNS is still working.The Pi-hole UI says "Status: DNS service not running" and "Error: There was a problem applying your settings. Debugging information: PHP error (2): fsockopen(): unable to connect to 127.0.0.1:4711 (Connection refused) in /var/www/html/admin/scripts/pi-hole/php/FTL.php:47". I have tried rebooting the docker host as well as just the Pihole container, but nothing seems to be working.
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"
- "81:81/tcp"
environment:
TZ: 'America/New-York'
WEBPASSWORD: 'password'
# 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
restart: unless-stopped
Nothing has changed on the OS, other than creating a new docker container a few days ago.