Re: local_unbound failing to resolve after switching jails to VNET

From: Dag-Erling_Smørgrav <des_at_FreeBSD.org>
Date: Sat, 07 Mar 2026 17:47:06 UTC
Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org> writes:
> If required, you can add a new resolver to your unbound forwarders
> list by running:
> # local-unbound-control forward_add . 9.9.9.9 2620:fe::fe

This is not the correct way to configure the local_unbound service.
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.

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org