pihole-dot-doh icon indicating copy to clipboard operation
pihole-dot-doh copied to clipboard

Can't get to work within synology

Open juan9999 opened this issue 4 years ago • 1 comments

I'm having issues getting this to work on my synology (I3 processor).

I've pulled AMD64 version of https://github.com/testdasi/pihole-dot-doh but can't get it to run right. Here is the code I used docker run -d
--name='pihole-dot-doh'
--cap-add=NET_ADMIN
--restart=unless-stopped
-e TZ=America/Chicago
-e PGID=101
-e PUID=1026
-e HOST_OS="Synology"
-v '/volume1/configs/pihole-dot-doh/pihole/':'/etc/pihole/':'rw'
-v '/volume1/configs/pihole-dot-doh/dnsmasq.d/':'/etc/dnsmasq.d/':'rw'
-v '/volume1/configs/pihole-dot-doh/config/':'/config':'rw'
-e 'DNS1'='127.1.1.1#5153'
-e 'DNS2'='127.2.2.2#5253'
-e 'WEBPASSWORD'='password'
-e 'INTERFACE'='br0'
-e 'ServerIP'='192.168.1.9’
-e 'ServerIPv6'=''
-e 'IPv6'='False'
-e 'DNSMASQ_LISTENING'='all'
-p '10053:53/tcp'
-p '10053:53/udp'
-p '10067:67/udp'
-p '10080:80/tcp'
-p '10443:443/tcp'
testdasi/pihole-dot-doh:stable-amd64 I don't have any obvious errors in log files but I can't access pi-hole via the IP address on my browser. How can I tell if it's running correctly?

juan9999 avatar Feb 21 '21 02:02 juan9999

Hi I use it on my Synology NAS, you wont be able to get it to listen on port 53 on the default net as its blocked by Synology, you will need to create a mac_net adapter and bind the pihole to it.

sdhawade avatar May 11 '21 18:05 sdhawade