Pi-Hole DNS not Solved in Ubuntu 18.04 LTS

I install Wireguard + pi-hole on VPS Server (Ubuntu 20.04 LTS)
Connect both Wireguard and Pi-hole

But the issue is Ad's are not blocking in My Client System (Ubuntu 18.04 LTS)
I Test on My Android Device it's work well

But in My system, it does not Block the Ad's VPN only working - I use Pi-hole IP as DNS server in Wireguard

1 Like

No issue on My Pi-Hole installed server
issue only My cliient server having Ubuntu 18.04

Run this on My Client server

$ grep -v '#\|^$' -R /etc/dnsmasq.*
/etc/dnsmasq.d/network-manager:bind-interface

After Testing with other devices (wireless) it's work well - Tested on My windows 10 system with wireless connection

it does not work in Wired connection

Hello, in your VPS with Ubuntu 20, the file /etc/resolv.conf contain: nameserver VPSprivateIP ?

cat /etc/resolv.conf

# Generated by dhcpcd from eth0.dhcp, wg0.dhcp
# /etc/resolv.conf.head can replace this line
nameserver 1.1.1.1
nameserver 1.0.0.1
# /etc/resolv.conf.tail can replace this line

Fixed :blush:

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