In OPNsense, up to the right; search - "packet capture" (Interfaces > Diagnostics > Packet Capture).
Download that file and open in it Wireshark. Maybe that can help.
Perhaps something on your LAN is 'hardcoded' to use that DNS server..
For DNS, I prefer to create NAT port forward rule that redirects DNS which is not going to unbound / pi-hole:
Interface
LAN
Proto
TCP/UDP
Adress
LAN net
Ports
*
Address (Destination)
!LAN adress (IP to pi-hole)
Ports
53
IP
127.0.0.1 (or IP to pi-hole -- I have 127.0.0.1 as I am running unbound on the firewall)
Ports
53
Description
"Redirect external DNS queries to Opnsense Unbound DNS"
My Unbound DNS is configured to use DoT upstream servers.
https://1.1.1.1/help
Download that file and open in it Wireshark. Maybe that can help.
Perhaps something on your LAN is 'hardcoded' to use that DNS server..
For DNS, I prefer to create NAT port forward rule that redirects DNS which is not going to unbound / pi-hole:
Interface
LAN
Proto
TCP/UDP
Adress
LAN net
Ports
*
Address (Destination)
!LAN adress (IP to pi-hole)
Ports
53
IP
127.0.0.1 (or IP to pi-hole -- I have 127.0.0.1 as I am running unbound on the firewall)
Ports
53
Description
"Redirect external DNS queries to Opnsense Unbound DNS"
My Unbound DNS is configured to use DoT upstream servers.
https://1.1.1.1/help
"