Cannot connect to own DNS server (pihole on Synology NAS in Docker container) #1836
Replies: 2 comments
-
Thanks a lot! I appreciate your help.
Note: I tried to replace #dhcp-option DNS DNS_IP_ADDRESS by dhcp-option DNS 192.168.1.2 but that didn't work either. I have attached the OpenVPN.conf file as a screenshot. Please let me know if you need more information. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for your detailed help. I will try your suggestions as soon as time allows. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear all,
I have setup an OpenVPN connection from my mobile (android) to a Synology NAS. Now, I would like to use the pihole container as DNS server (to block ads).
At first, I thought it should automatically be used, since my router (Fritzbox) is using the pihole as DNS server and it works fine for all local devices in the network.
But when I open up a website on the mobile phone while connected via OpenVPN, no ads were removed.
I now learned that this has to do with the fact that the Fritzbox is the DHCP-Server for the local devices, but not for the VPN-connections, where OpenVPN is assigning the IP-addresses.
So, I think I have to enter the pihole as DNS server in the configuration of the mobile app. Is that right?
The pihole container runs in host mode.
I have tried to enable "Override DNS Settings by Server" in the "IP AND DNS" Tab and entered the NAS local network IP under "DNS Server". Not sure what to enter under "searchDomain". I changed it to "local".
So far I couldn't make it work. Any ideas?
Thanks in advance!
McAledih
Beta Was this translation helpful? Give feedback.
All reactions