testdasi / pihole-dot-doh

Official pihole docker both DoT (DNS over TLS) and DoH (DNS over HTTPS). Built for both Raspberry Pi and AMD64.
GNU General Public License v3.0
40 stars 23 forks source link

Can't get to work within synology #4

Open juan9999 opened 3 years ago

juan9999 commented 3 years ago

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?

sdhawade commented 3 years ago

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.