Ow by the way, that site is perfect for testing:
Hahah, yeah, speedtest.net is good for running reliable speedtests but it is REALLY bad for ads.
I ended up purging all files related to unbound and reinstalling. @deHakkelaar helped with ensuring that looked good but the last 6-7 posts indicate something is still weird, even with a fresh unbound install, my Pihole isn't catching ads that it definitely should be. I posted a debug log last night as @deHakkelaar and I were working on it.
Run from the machine hosting your Pi-hole, what's the output of:
echo ">stats >quit" | nc localhost 4711
root@DietPi:~# echo ">stats >quit" | nc localhost 4711
domains_being_blocked 279477
dns_queries_today 45255
ads_blocked_today 9093
ads_percentage_today 20.092808
unique_domains 3372
queries_forwarded 27484
queries_cached 8367
clients_ever_seen 24
unique_clients 23
dns_queries_all_types 45255
reply_UNKNOWN 1497
reply_NODATA 4972
reply_NXDOMAIN 1016
reply_CNAME 15724
reply_IP 21668
reply_DOMAIN 195
reply_RRNAME 1
reply_SERVFAIL 0
reply_REFUSED 0
reply_NOTIMP 0
reply_OTHER 0
reply_DNSSEC 0
reply_NONE 0
reply_BLOB 182
dns_queries_all_replies 45255
privacy_level 0
status enabled
I'm worried I may have a partial DNS loop and that may be causing these issues...
My Pi-hole is set as my only DNS inside of my DHCP server (my Unifi controller):
I also have two other VLANs with the Pi-hole as the only DNS:
And:
But then inside of the Pi-hole, I have Conditional Forwarding setup so my local devices show the hostnames inside of the query log:
Is this setup causing a loop and could that be what's creating these issues, even on a fresh install of Unbound?
It could be if you also configured the Pi-hole IP in the WAN/Internet DNS settings on the router which could close a loop or partial loop?
And does below file exists and if so, whats in it?
cat /etc/unbound/unbound.conf.d/resolvconf_resolvers.conf
Also I noticed your clients hostnames having the .local suffix domain name configured which is not recommended:
I see your router settings allow to configure a "Domain Name" suffix for the separate LAN segments.
I'dd suggest name them like below instead of localdomain (which isnt't gonna work properly anyway with CF "Conditional Forwarding" for all three segments):
lan.home.arpa.
iot.home.arpa.
adc.home.arpa.
So you're RFC complient
I'dd suggest to get it working for your LAN segment only at first.
Configuring Pi-hole with CF for multiple domains on multiple network segments involves a bit of hacking and a better understanding.
You can learn allot if search Discourse here!
EDIT: And oc the docs:
Nah, this isn't set in the WAN. The WAN's DNS is 1.1.1.1
.
This file does not exist in the new unbound install.
Could this be causing what we were looking at yesterday? The Pi-hole not blocking things that are in the adlists. So in the router, I'll change the domain name for each of the segments (LAN first), but, in the Pi-hole, should I leave the Conditional Forwarding settings the way they are?

Could this be causing what we were looking at yesterday?
Dont know.

So in the router, I'll change the domain name for each of the segments (LAN first), but, in the Pi-hole, should I leave the Conditional Forwarding settings the way they are?
Only change the CF domain from local into that example: lan.home.arpa.
I have noticed that my local devices haven't been playing well together since reinstalling unbound. That's kind of what led me to ask this question. An example from earlier, my iPad screen mirroring to my Samsung TV. This should work flawlessly but sometimes, the connection is very unstable or doesn't work at all.
I thought it may have something to do with the domain name set in the router and the Conditional Forwarding set in the Pi-hole.

Only change the CF domain from local into that example: lan.home.arpa.
Ah, so leave the router's domain name set to what it is and set the lan.home.arpa.
in the Pi-hole's CF settings?

Ah, so leave the router's domain name
No.
You should configure those domain names on the router in their separate DHCP sections in the "Domain Name" field at the bottom.
And adjust CF accordingly

You should configure those domain names in their separate DHCP sections in the "Domain Name" field at the bottom.
And adjust CF accordingly
Like this?
The trailing period is causing it to report invalid.
Thats it.
Set the same domain for Pi-hole CF.
EDIT: When we have things sorted first for LAN, I'll show you how to do CF for those other two domains.
EDIT2: Ow you can inspect what domain is advertised with below:
pihole-FTL dhcp-discover
Now go inspect:

EDIT2: Ow you can inspect what domain is advertised with below:
pihole-FTL dhcp-discover
At least for your LAN segment.
root@DietPi:~# pihole-FTL dhcp-discover
Scanning all your interfaces for DHCP servers
Timeout: 10 seconds
* Received 307 bytes from eth0:192.168.1.1
Offered IP address: 192.168.1.188
Server IP address: 192.168.1.1
Relay-agent IP address: N/A
BOOTP server: (empty)
BOOTP file: (empty)
DHCP options:
Message type: DHCPOFFER (2)
server-identifier: 192.168.1.1
lease-time: 86400 ( 1d )
renewal-time: 43200 ( 12h )
rebinding-time: 75600 ( 21h )
netmask: 255.255.255.0
broadcast: 192.168.1.255
dns-server: 192.168.1.188
router: 192.168.1.1
domain-name: "lan.home.arpa"
--- end of options ---
And I assume these are normal until we get CF working for the other VLANs?

And I assume these are normal until we get CF working for the other VLANs?
Yes.
EDIT: Hold on, how are you gonna name the other two?

iot.home.arpa. adc.home.arpa.
I would assume like the above.
Create a new config file with below (assuming the ..1 addresses are your routers):
sudo nano /etc/dnsmasq.d/99-my-settings.conf
Containing:
# IoT
server=/iot.home.arpa/192.168.1.1
rev-server=192.168.3.0/24,192.168.1.1
# ADC
server=/adc.home.arpa/192.168.1.1
rev-server=192.168.2.0/24,192.168.1.1
Save/exit and check syntax:
pihole-FTL --test
And apply:
pihole restartdns
Better generate a new token when sorted!
EDIT: And inform if things have improved