From nobody Tue Mar 8 17:22:50 2022 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A368C1A00AA4 for ; Tue, 8 Mar 2022 17:22:57 +0000 (UTC) (envelope-from doug@safeport.com) Received: from fledge.watson.org (fledge.watson.org [147.160.157.40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "A1-48603", Issuer "A1-48603" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KChww5Xhcz4ps8 for ; Tue, 8 Mar 2022 17:22:56 +0000 (UTC) (envelope-from doug@safeport.com) Received: from fledge.watson.org (doug@localhost [127.0.0.1]) by fledge.watson.org (8.16.1/8.16.1) with ESMTPS id 228HMokP059181 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Tue, 8 Mar 2022 17:22:50 GMT (envelope-from doug@safeport.com) Received: from localhost (doug@localhost) by fledge.watson.org (8.16.1/8.16.1/Submit) with ESMTP id 228HMoLH059178 for ; Tue, 8 Mar 2022 17:22:50 GMT (envelope-from doug@safeport.com) X-Authentication-Warning: fledge.watson.org: doug owned process doing -bs Date: Tue, 8 Mar 2022 17:22:50 +0000 (UTC) From: doug@safeport.com Reply-To: doug@fledge.watson.org To: questions@freebsd.org Subject: Re: local-unbound in a jail In-Reply-To: Message-ID: References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="621616949-285259423-1646760170=:66576" X-Rspamd-Queue-Id: 4KChww5Xhcz4ps8 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=fail (mx1.freebsd.org: domain of doug@safeport.com does not designate 147.160.157.40 as permitted sender) smtp.mailfrom=doug@safeport.com X-Spamd-Result: default: False [-0.60 / 15.00]; HAS_REPLYTO(0.00)[doug@fledge.watson.org]; R_SPF_FAIL(1.00)[-all]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; REPLYTO_DN_EQ_FROM_DN(0.00)[]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; CTYPE_MIXED_BOGUS(1.00)[]; FROM_NO_DN(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.50)[-0.502]; MLMMJ_DEST(0.00)[questions]; DMARC_NA(0.00)[safeport.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:6405, ipnet:147.160.157.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N 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 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--