Pihole doesn't block ads

Expected Behaviour:

blocking ads

Actual Behaviour:

no ads are blocked

Debug Token:

eh6verprbu

Additional info:

Repair has been done.
update has been done.
Reconfigure has been done

DNS change is blocked by router provider
Set DNS manually in 2 devices as per instructions (Android, Linux machine (Raspberry PI 4, Ubuntu MATE 20.04.1)

From a client that you believe is using Pi-hole, and from the terminal or command prompt in that client (not via ssh to Pi-hole), what is the output of:

nslookup pi.hole

Also, look through your debug log for all the regex errors in your domain list. Your regex are a bit of a mess.

pi@pi:~$ nslookup pi.hole
Server: 192.168.1.1
Address: 192.168.1.1#53

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

I will remove also the custom whitelist and blacklist entries and provide you with a new token if needed.
Whitelisted domains are made via the lists provided in this post

*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the wlan0 interface:
   192.168.1.61/24 matches the IP found in /etc/pihole/setupVars.conf
*** [ DIAGNOSING ]: Setup variables
    BLOCKING_ENABLED=true
    PIHOLE_INTERFACE=wlan0
    IPV4_ADDRESS=192.168.1.61/24

About my regex errors I run this script.
https://github.com/mmotti/pihole-regex

I will uninstall it to be sure
@ DanSchaper Since I'm pretty new to PiHole shouldn't I use the same static IP I have set to wlan and as DNS?

You have Pi-hole configured to be 192.168.1.61. Your client is pointed to 192.168.1.1. The client is not talking to Pi-hole.

You have run this command on the Pi terminal, not on a separate client.

Hello.
@jfb I run this command in the pi terminal where pihole is installed..
@DanSchaper when I overwrite the file in ubuntu MATE and cat /etc/resolv.conf
to point to 192.168.1.61 but it is overwritten from time to time to point to 192.168.1.1

For this reason I changed the /etc/dhcpcd.conf and add the following commands
From:
interface eth0

  •    static ip_address=192.168.1.51/24*
    
  •    static routers=192.168.1.1*
    
  •    static domain_name_servers=1.1.1.1 1.0.0.1*
    

to
interface eth0
static ip_address=192.168.1.51/24
static routers=192.168.1.61
static domain_name_servers=1.1.1.1 1.0.0.1
interface wlan0
static ip_address=192.168.1.61/24
static routers=192.168.1.61
static domain_name_servers=1.1.1.1 1.0.0.1
And now on cat /etc/resolv.conf I see the following (with no access to internet)

/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

You want to run this command on a separate client where you are seeing ads. We are checking to see which nameserver that client is using.

Dear All,
Please close this case since after a mint update I faced another issue. I will format my card so no need to check this topic.
Thank you for the assistance.