Hi, New to Pi-hole, but it looks great. I was able to setup Pi-hole on a low-power Debian machine that I use for Asterisk and NFS server. I keep this machine running all the time to handle my VOIP phone answering machine (on Asterisk). I also user VyprVPN. When I connect to my home router from a client machine without Openvpn (and so no Vyrvpn), Pi-hole seems to block ads. So that looks okay.
If I try to connect to VpyrVPN (via Openvpn), then Pi-hole doesn’t seem to block ads anymore.
When I look at /etc/resolv.conf, I notice that NetworkManager ads “nameserver 10.2.3.1” to the /etc/resolv.conf file. Then, Pi-hole doesn’t work anymore.
I tried to add a file /etc/openvpn/client/client.conf
script-security 2
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf
and then in /etc/openvpn/update-resolv-conf
I have added the line
dhcp-option DNS 192.168.0.10
Even after all these steps, my /etc/resolv.conf still ads “nameserver 10.2.3.1” when I start the VPN connection.
Any idea how to fix this?
Kind regards,
Gregg G.