For documentation purposes (just in case - https://xkcd.com/979/), here is my currently working solution, with aliases for the pi-holes, both destination and source NATs.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: viragomann on Today at 11:32:11 AMAssuming the pi-hole resides within your LAN, you also need a source NAT rule to hairpin DNS requests from other LAN devices going to the pi-hole:
Interface: LAN
protocol: TCP/UDP
source: LAN network
destination: pi IP
dest. port: 53
translation: LAN address
Quote from: BrandyWine on May 12, 2026, 06:58:53 PMThe pi @ 1.1.1.1 is inside on LAN net? So the initial request wants to head out the WAN but it gets dst NAT'd to 1.1.1.1.
Ok, so what happened to the SRC address?
SRC wanted DNS from 9.9.9.9, but the fw sent it to 1.1.1.1. SRC tcp/ip table does not show any connection to 1.1.1.1.
UDP is not a socketless protocol. Try also SRC NAT'ing to use the FW IP itself.
That's my guess.
Quote from: nero355 on May 11, 2026, 10:46:31 PMSee here : https://forum.opnsense.org/index.php?topic=9245.msg259581#msg259581
And for more 'TIPS & HINTS' that topic in general ofcourse :)
Quote from: Patrick M. Hausen on February 24, 2025, 04:55:57 PMWeb UI listening on all interfaces as literally "recommended"?