Monday, December 02, 2024

Re: Can a daemon like unbound run in two RDOMAINs at the same time?

Hi, I decided to run two instances of the Unbound daemon, one for each
rdomain, a friend from the community helped me.
Thanks.

On 11/30/24 3:00 PM, Zack Newman wrote:
> Can it run in two different rdomain(4)s? Yes, but not "natively". You'll
> have to run separate copies of it for each rdomain(4). If you don't need
> to actually run it in different rdomain(4)s but instead only need it
> accessible, then pf(4) is your friend. Something like below should work:
>
> pass out quick on lo1 inet6 proto { tcp udp } from ::1 to ::1 port 53
> rtable 0
> pass out quick on lo1 inet proto { tcp udp } from 127.0.0.1 to 127.0.0.1
> port 53 rtable 0
> pass in quick on { lo0 lo1 }
>

No comments:

Post a Comment