Hi there!
Just in case some users were still, like me, unable to reach their Pi-hole DNS when connected under OpenVPN (DNS not resolving issue), here's a quick fix :
-
First, modify
/etc/dnsmasq.conf
in order to replace:
#listen-address=
withlisten-address=127.0.0.1, 192.168.xxx.xxx, 10.8.0.1
where the second IP is the Pi-hole local network IP and the third IP is the tun0 interface. -
Then, simply restart DNSMasq with:
sudo systemctl restart dnsmasq
This fix was found on PiVPN wiki and I thought that it could help others PiHole users under a similar configuration.
Hopefully it'll be useful for anyone