Re: local_unbound failing to resolve after switching jails to VNET

From: Pouria Mousavizadeh Tehrani <pouria_at_FreeBSD.org>
Date: Sat, 07 Mar 2026 18:21:19 UTC
On 3/7/26 9:17 PM, Dag-Erlang Smørgrav wrote:
> This is not the correct way to configure the local_unbound service.

You're absolutely right!
I wanted to verify and limit his scope of troubleshooting first.

> Instead, add the following line to the jail's /etc/rc.conf or
> /etc/rc.conf.d/local_unbound:
> 
>      local_unbound_forwarders="9.9.9.9 2620:fe::fe"
> 
> Then run `service local_unbound setup` inside the jail, and either
> reload or restart the service.

Indeed, this is the correct way If he wants to persist those configurations.
Thank you for the explanation.

-- 
Pouria