If you trust this link, click it to continue.
https://www.lguruprasad.in/blog/2025/01/20/redirect-all-outgoing-dns-requests-to-the-local-pi-hole-instance-using-opnsense/