Same issue, stopped working after few hours. doesn't matter if I use 127.0.0.1 or not. Query logs shows something like this:
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
Apr 22 04:41:28 dnsmasq[19303]: query[A] live.bongobd.com from 192.168.88.1
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
Apr 22 04:41:28 dnsmasq[19303]: query[A] live.bongobd.com from 192.168.88.1
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
Apr 22 04:41:28 dnsmasq[19303]: query[A] live.bongobd.com from 192.168.88.1
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
Apr 22 04:41:28 dnsmasq[19303]: query[A] live.bongobd.com from 192.168.88.1
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
Apr 22 04:41:28 dnsmasq[19303]: query[A] live.bongobd.com from 192.168.88.13
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
Apr 22 04:41:28 dnsmasq[19303]: query[A] live.bongobd.com from 192.168.88.1
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
Apr 22 04:41:28 dnsmasq[19303]: query[A] live.bongobd.com from 192.168.88.1
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
Apr 22 04:41:28 dnsmasq[19303]: query[A] live.bongobd.com from 192.168.88.1
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
Apr 22 04:41:28 dnsmasq[19303]: query[A] live.bongobd.com from 192.168.88.1
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
Apr 22 04:41:28 dnsmasq[19303]: query[A] live.bongobd.com from 192.168.88.1
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
Apr 22 04:41:28 dnsmasq[19303]: query[A] live.bongobd.com from 192.168.88.13
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
Apr 22 04:41:28 dnsmasq[19303]: query[A] live.bongobd.com from 192.168.88.1
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
Apr 22 04:41:28 dnsmasq[19303]: query[A] live.bongobd.com from 192.168.88.1
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
Apr 22 04:41:28 dnsmasq[19303]: query[A] live.bongobd.com from 192.168.88.1
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
Apr 22 04:41:28 dnsmasq[19303]: query[A] live.bongobd.com from 192.168.88.1
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
Apr 22 04:41:28 dnsmasq[19303]: query[A] live.bongobd.com from 192.168.88.1
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
Apr 22 04:41:28 dnsmasq[19303]: query[A] live.bongobd.com from 192.168.88.13
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
Apr 22 04:41:28 dnsmasq[19303]: query[A] live.bongobd.com from 192.168.88.1
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
Apr 22 04:41:28 dnsmasq[19303]: query[A] live.bongobd.com from 192.168.88.1
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
Apr 22 04:41:28 dnsmasq[19303]: query[A] live.bongobd.com from 192.168.88.1
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
Apr 22 04:41:28 dnsmasq[19303]: query[A] live.bongobd.com from 192.168.88.1
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
Apr 22 04:41:28 dnsmasq[19303]: query[A] live.bongobd.com from 192.168.88.1
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
Apr 22 04:41:28 dnsmasq[19303]: query[A] live.bongobd.com from 192.168.88.13
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
Apr 22 04:41:28 dnsmasq[19303]: query[A] d27xxe7juh1us6.cloudfront.net from 192.168.88.1
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
Apr 22 04:41:28 dnsmasq[19303]: query[A] d27xxe7juh1us6.cloudfront.net from 192.168.88.1
Apr 22 04:41:28 dnsmasq[19303]: config error is REFUSED
And here is the .yml file,freshly installed few hours back. with newly created volumes:
version: "3"
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
networks:
macvlan_network:
ipv4_address: 192.168.88.5
restart: unless-stopped
environment:
ServerIP: '192.168.88.5'
TZ: 'Asia/Dhaka'
WEBPASSWORD: 'PASS'
TEMPERATUREUNIT: 'C'
IPv6: 'false'
volumes:
- etc-pihole:/etc/pihole
- etc-dnsmasq.d:/etc/dnsmasq.d
cap_add:
- NET_ADMIN
volumes:
etc-pihole:
external: true
etc-dnsmasq.d:
external: true
networks:
macvlan_network:
external:
name: macvlan_network
Only thing I found in docker log is
i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone!
And here is the permission from my docker host:
**pi@raspberrypi** : **/var/lib/docker/volumes $** sudo ls -l etc-dnsmasq.d
total 4
drwxr-xr-x 2 root root 4096 Apr 22 05:28 _data
**pi@raspberrypi** : **/var/lib/docker/volumes $** sudo ls -l etc-pihole
total 4
drwxrwxr-x 3 999 spi 4096 Apr 22 05:29 _data