Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Mar 2022 17:22:50 +0000 (UTC)
From:      doug@safeport.com
To:        questions@freebsd.org
Subject:   Re: local-unbound in a jail
Message-ID:  <c2c297a7-54c-9933-3a34-d17b6369b96b@safeport.com>
In-Reply-To: <CAPDFJPjETPBRA3%2BpDma99ZdOf6g1n4CZLE=F%2BHYxhJ860D6LEg@mail.gmail.com>
References:  <dfca984d-95e5-a0e7-3f2e-da0a9925dce8@unixnation.net> <bda5e771-b3ff-6071-cecc-007c85508708@gmx.at> <CAPDFJPjETPBRA3%2BpDma99ZdOf6g1n4CZLE=F%2BHYxhJ860D6LEg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--621616949-285259423-1646760170=:66576
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8BIT

On Tue, 8 Mar 2022, PstreeM China wrote:

> yes, highly recommend using vnet to do this. and also recommend the tools:  bastille . it's a
> amazing tools to manager the jail. i think vnet it's the best way to startup the service in jail.  i use
> bastille create jail and configure use vnet .
> 
> On Sat, Feb 19, 2022 at 2:03 AM infoomatic <infoomatic@gmx.at> wrote:
>       I highly recommend using vnet enabled jails for network based services
>       ... imho too much hassle with networking issues with non-vnet jails.
> 
>
>       On 18.02.22 18:02, Steve Kirk wrote:
>       > Afternoon all,
>       >
>       > I suspect that I know the answer to this question, however... I have
>       > tried to run local-unbound in a jail (as I intend to run rspamd in
>       > said jail) but it seems like it doesn't play nicely because there's no
>       > loopback address *inside* the jail which is the only interface this
>       > service is designed to work with.
>       >
>       > Trying to keep things minimal but I think I should be installing
>       > unbound or named from ports if I want a caching DNS server inside a
>       > jail, rather than abusing local-unbound?
>       >
>       > Cheers,
>       > Steve
>       >

The only time I used vnet was when I was required to by mu colo to get 
through a programmable switch. I found it to be a pain, but I was at the 
"mercy" of the colo for the setup requirements and changes. If we are not 
talking about a virtual environment, I don't get why this is easier. This 
is a "wanna learn something question" BTW.
--621616949-285259423-1646760170=:66576--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c2c297a7-54c-9933-3a34-d17b6369b96b>