Please follow the below template, it will help us to help you!
Expected Behaviour:
I had it all working fine before changing IPs...(It's static now) When I set my DNS in my router to my pi's address my network's traffic should route through pi-hole. Tried using pi-hole's DHCP settings instead of the router with no luck either.
Actual Behaviour:
When I set DNS to pi-hole ip no devices can access the internet. When I set a secondary DNS server along side the pi internet access is retained, but the pi-hole dashboard shows no blocks and in the network page no devices are connected.
Your debug log indicates problems with DNS resolution through Pi-hole's IP:
*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] api.vungle.akadns.net is 0.0.0.0 via localhost (127.0.0.1)
[✗] Failed to resolve api.vungle.akadns.net via Pi-hole (192.168.1.11)
[✓] doubleclick.com is 172.217.7.14 via a remote, public DNS server (8.8.8.8)
Is 192.168.1.11/24 the address you intend to use for Pi-hole?
As you claim to have recently changed that, let's check that against the static IP(s) that did get configured via dhcpcd:
What's the output of the following command when run on your Pi-hole machine?
I uninstalled openvpn server since my post, and i think im getting a different debug response. Just in case, here is my new debug token: https://tricorder.pi-hole.net/a0mflzakdl
You should decide which network interface (wlan0 or eth0) you want to use to assign a static IP of 192.168.1.11/24. Then delete the other lines by editing
sudo nano /etc/dhcpcd.conf
When done, notify dhcpcd of your configuration changes to apply them:
sudo dhcpcd --rebind
You can verify that your IP addresses are set correctly:
Did you configure Pi-hole as your router’s
a) upstream DNS server (commonly a WAN/Internet setting),
b) local DNS server (commonly a DHCP setting)
c) both?
It's strange though because the first time I installed everything worked effortlessly.
So, just to be clear, your suggestion is to leave my DNS setting as it is, and to uncheck the DHCP setting in my router, and check the DHCP setting in pihole?
Edit: I get this message when i try to disable DHCP
As your router does not seem to allow b) and seems to be interfering with or suppressing a):
Yes.
EDIT:
I do not know your router, so you'd have to consult your manual or online documentation on how to handle this.
As far as I can deduce from the screenshot, this is a reminder that IP addresses are no longer managed by the router (which is to be expected when you turn of DHCP)