Pi-Hole DNS / Static IP Issues

Hi All,

I recently bought a Raspberry PI 5 to connect with my TV to stream movies using just the browser in Raspberry OS.

I also wanted to install Pi-Hole on the same Raspberry PI 5.

I managed to successfully install Pi-Hole but I’m running into some problems.

When accessing the Adblock testeron the browser of my Raspberry PI it shows a score near to 100 indicating that it is working locally.

I can also access the Pi-Hole admin panel on my Raspberry PI.

To issue I have is making Pi-Hole work on all my devices on my network.

I changed the “/etc/dhcpcd.conf” file on my Raspberry PI to set a static IP address using the following lines:

“interface eth0
static ip_address=192.168.68.14/24
static routers=192.168.68.1
static domain_name_servers=192.168.0.1 1.1.1.1”

In my Deco settings I set the primary DNS under DHCP Server to 192.168.68.14 and also the secondary (How to use Pi-Hole DNS Server on TP-Link routers)

When I now run the following command “hostname -I” on my Raspberry PI I see 2 IP addresses, one of them being 192.168.68.14 and a complete other one (192.168.0.234).

Accessing 192.168.68.14 on the browser of a different PC on that network doesn’t work.

FYI: My Raspberry PI is connected with Ethernet and my home network is a Mesh WiFi network (Deco X50).

After hours of searching online I can’t find what I’m doing wrong, all help is welcome.

Thanks a lot for the help!

Seems like your router would have changed networks upon setting a DNS server, so probably similar to Can't setup network-wide DNS because of router - #8 by Bucking_Horn (not uncommon for TP-Link models).

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.