I recently bought myself a new Synology NAS on which you can install and run Docker images.
One of the containers I'd like to run is pihole/pihole (v4). This appears to be working and from what I can see in the web portal (of both the NAS and PiHole) it's working properly. All requests I'm making (from a phone, laptop or desktop) appear to be resolved via PiHole.
There is however 1 major problem. It appears, even though the DNS requests are being made in PiHole, the responses aren't returned to my devices. When doing an nslookup
or ping
I'm not receiving any response.
D:\Temp>nslookup google.nl
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: 192.168.1.158
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** Request to UnKnown timed-out
But as I already mentioned, I do see stuff getting resolved the PiHole portal.
2018-08-23 21:20:24 AAAA google.nl 172.17.0.1 OK (forwarded) N/A
There is a firewall present on the Synology, which was turned off. I've turned it on again and enabled a rule to Allow
all traffic (which should be the same as turning it off). I also turned off my Windows Firewall, just to test stuff.
Sadly, both solutions didn't help a bit.
I think my configuration is set up correctly, port 53 is being forwarded to port 53 in the container.
Port 80 and 443 aren't set up correctly yet, but this shouldn't be an issue when resolving domains. Port 67 is used for DHCP, which I'm not handling in PiHole, so it shouldn't matter also.
The container is running in Bridge
network mode which shouldn't pose any problem if the necessary ports are being forwarded correctly.
Running the container in Host
network mode didn't appear to be working either, probably because the public ports are assigned Auto
ports in this mode.
For completeness sake, a screenshot of all my info service on the Synology.
I had assumed port 53 should be shown on the Local Port
column for the Docker entry. Maybe that's the problem, but I don't know how this has to be resolved. The Test Connection
button appears not to do much either.
So my question is, what could be the problem my PiHole container is doing DNS requests for my devices, but the responses aren't being returned to any of my devices?