Expected Behaviour:
I am using pihole in a docker container created using the compose file found on github:
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"
- "123:123/udp"
- "2380:80/tcp"
- "2480:443/tcp"
environment:
TZ: 'America/New_York'
FTLCONF_webserver_api_password: 'thisisformetoknowandyoutofindout'
FTLCONF_dns_listeningMode: 'all'
FTLCONF_dns_reply_host_IPv4: 192.168.0.13
# FTLCONF_REPLY_ADDR4: 192.168.0.13
volumes:
- './etc-pihole:/etc/pihole'
- './etc-dnsmasq.d:/etc/dnsmasq.d'
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
cap_add:
- SYS_TIME
- SYS_NICE
restart: unless-stopped # Recommended but not required (DHCP needs NET_ADMIN)
Actual Behaviour:
pi.hole doesn't work in the browser, and nslookup resolves to 127.0.0.1 on other machines, the host, and docker exec
Debug Token:
https://tricorder.pi-hole.net/AfBoeVIb/