Wired device not using Pi-hole

I am too Facing this same issue
I use Wireguard + pi-hole
on wireless device it working well
in wired devices it does not block the ads

Hi i try this on My Ubuntu system 18.04 LTS - wired connection

nslookup pi.hole
Server:		1.1.1.1
Address:	1.1.1.1#53

** server can't find pi.hole: NXDOMAIN

Run with pi-Hole IP

Server:	10.66.66.1
Address:	10.66.66.1#53

Name:	pi.hole
Address: 10.66.66.1
Name:	pi.hole
Address: <IP V6 of the server>

This client is not using Pi-hole for DNS. Either it is manually assigned to Cloudflare or it is getting this assignment from the router.

added the 1.1.1.1 DNS on My Router
wireless connection are work well
having this issue on wired connection

Remove the 1.1.1.1 DNS from the router.

replace with PI-hole DNS?
but i don't want to use it globally

In this case, you will need to manually map clients to use Pi-hole, or use the group management feature of Pi-hole to bypass filtering on selected devices.

https://docs.pi-hole.net/database/gravity/groups/

any other solution to fix this?

I use wireguard
wg0 method
so PI-hole connect via wireguard VPN

Finally, I Fixed this issue
By disabling Auto Dns Option
Stop Network Manager from adding DNS Servers Dynamically

nano /etc/NetworkManager/NetworkManager.conf

[main]
dns=none
  • restart the Network Manager
systemctl restart NetworkManager.service
  • Update the Pi-hole DNS Server on /etc/resolv.conf
nano /etc/resolv.conf

nameserver <Pi-hole DNS>
nameserver 1.1.1.1
systemctl restart NetworkManager.service

Now it's Blocking the Ad's

Wireguard + Pi-hole working well

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