I use pihole as my primary dns servers for clients with unbound on OPNsense set as the upstream dns server on pihole. The advantage of this setup is that you get local host resolution since OPNsense is able to get that from the DHCP server (ISC or dnsmasq).
EDIT: After reading more carefully, I see that you can't reach the pihole directly. If the default gateway is OPNsense, then maybe you can port forward those DNS requests to pihole. I am also doing that to force all DNS to pihole.
EDIT: After reading more carefully, I see that you can't reach the pihole directly. If the default gateway is OPNsense, then maybe you can port forward those DNS requests to pihole. I am also doing that to force all DNS to pihole.