Ubuntu Mate - pihole configuration

Please follow the below template, it will help us to help you!

Expected Behaviour:

Expecting queries to be blocked - still seeing ads on all the clients connected to the internet. Installation seems perfect and web interface using lighttpd seems to come up without issues. But Query log shows only query from 12 hours ago. No recent data. H/w Raspberry Pi - 8GB RAM -128GB SD Card. Unable to nslookup pi.hole getting NXDOMAIN. OS Ubuntu Mate 20.04 LTS

Actual Behaviour:

Pihole configuration looks ok - web interface coming up ok showing active but pihole not blocking any queries. Router DNS entries updated

Debug Token:

https://tricorder.pi-hole.net/0qlrnknq87

Then your clients aren't using Pi-hole anymore.

What does your /etc/resolv.conf look like?

Check your networking as well.

*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the wlan0 interface:
   10.0.1.61/24 does not match the IP found in /etc/pihole/setupVars.conf (https://discourse.pi-hole.net/t/use-ipv6-ula-addresses-for-pi-hole/2127)
   10.0.1.60/24 matches the IP found in /etc/pihole/setupVars.conf
*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] stylowoimodnie.pl is 0.0.0.0 via localhost (127.0.0.1)
[✗] Failed to resolve stylowoimodnie.pl via Pi-hole (10.0.1.60)
[✓] doubleclick.com is 172.217.14.110 via a remote, public DNS server (8.8.8.8)
**rsivaguru@bairav** : **~** $ cat /etc/resolv.conf

# Generated by dhcpcd from eth0.dhcp, wlan0.dhcp

# /etc/resolv.conf.head can replace this line

domain localdomain

nameserver 10.0.1.60

nameserver 9.9.9.11

nameserver 149.112.112.11

# /etc/resolv.conf.tail can replace this line

**rsivaguru@bairav** : **~** $

I have configured static ip's as:

eth0 - 10.0.1.60
wlan0 - 10.0.1.61

Should I edit /etc/pihole/setupVars.conf?

Should the raspberry pi - networking connections for both eth0 and wlan0 show the DNS entry to be 10.0.1.60?

Why do you have both eth0 and wlan0 operating at the same time? How do you want your clients to access the Pi-hole? You'll need a single static IP address for the clients to use, and it needs to be accessible all the time.

Do you recommend that I disable the wlan0 from using a static IP? The reason I had 2 static IP configured was to easily remember the IP's and in case if I needed to ssh to the raspberry pi.

Why do you have both eth0 and wlan0 operating at the same time? How do you want your clients to access the Pi-hole?

I was hoping that the clients connect to eth0 - 10.0.1.60 for pihole and also have a wifi interface up with a static address. However based on your questions, I disabled wifi configuration on the raspberry pi and now have only one network interface up. I also reconfigured pihole by executing pihole -r and it now looks like it is functional and blocking ads.

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