From nobody Tue Mar 26 20:47:28 2024 X-Original-To: freebsd-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 4V421J53zCz5Fn3J for ; Tue, 26 Mar 2024 20:47:32 +0000 (UTC) (envelope-from cryintothebluesky@gmail.com) Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V421J2wdQz49f3 for ; Tue, 26 Mar 2024 20:47:32 +0000 (UTC) (envelope-from cryintothebluesky@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2d094bc2244so78672811fa.1 for ; Tue, 26 Mar 2024 13:47:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711486050; x=1712090850; darn=freebsd.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=fRkXyxQj3bHIab7TZxc9cIx7PmABui2B4S3UmdM46+0=; b=Dq5Gwl4bJPG6TOm61LFroLXC2+5Kzde1LruOwI/inXoSXoOaXwHdo2D6fs6k0b2ku0 Nn3eOjp6bSeWSvFfJGivjkOCPSS7Gbn3ZkmRbcCDivdwwulVvNZMRU9yEc/nGq7jIfef EQMqe48OtTxLZ6jEmZuMv67uNKo8G0mH7Tu6Q5+UJk0rQwhfsuSpwxuSciEJT57Pku30 E44QI+CBYS2MLmIMTPG/LVe1iw12IRVo6ToyzmYMaGJOoYWUfBIA+X/rin/3vM9p3RtI HZANa/EXiOjVogwqUHjlOg0hAy4TBkYMHPZMR11WWkpFt9WGmCP3/lnI1A9K3F8y5RDJ +mVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711486050; x=1712090850; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fRkXyxQj3bHIab7TZxc9cIx7PmABui2B4S3UmdM46+0=; b=jyWb9ey5e8JAesAnfGIF7QXC792panEzL1kcxzLL0OZ9c7kCrp7DdMlig+Ws3Y3+9J fbF0CCkMhS/IbZ+dNf6hXQ7yG1/DSSbpGiB0xqE6ijAcToIsbyhccfHcu1429xEPOL43 S6fqXrtFVaLAZo98VcvHPpKpjN/G+i0ii00ehKfj3r5VxZl/RO3ZnvcUDhTMGVy5kwFx X2N0oLx2oew3dnQNrVxvw5pj/m2UZ1CksFBAwefLSF8D874U5lrTgnqTw+kS1xGViEjb YzFGnA9WgboPncA+EqSC0bUp07MpWg62mLrLF58yf4cJF7nYJ/Eo80ICErRHTbH48GSD 2FEQ== X-Gm-Message-State: AOJu0YzEl+7n1wxI41IhpkTa5R6QHkgwirhDJIt4zeskhMq5rNLAnBG2 0JKfotQJA2yVtU9veqFBK8vIr/cGTXVGY/mjUuL70SLDxLJCZDXZmTy0074x X-Google-Smtp-Source: AGHT+IGxl8uL6epVSHcAwAhfLA25GY5IYuAJZaZURKYn4Irs68fC5VTCMSyKH6o82ki8XW/WJhH88Q== X-Received: by 2002:a05:651c:a10:b0:2d6:d7ff:5d3a with SMTP id k16-20020a05651c0a1000b002d6d7ff5d3amr5137111ljq.14.1711486049615; Tue, 26 Mar 2024 13:47:29 -0700 (PDT) Received: from z600.home.lan (239.85.199.146.dyn.plus.net. [146.199.85.239]) by smtp.gmail.com with ESMTPSA id g8-20020a05600c310800b0041488cfd0fesm52727wmo.28.2024.03.26.13.47.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 13:47:29 -0700 (PDT) Date: Tue, 26 Mar 2024 20:47:28 +0000 From: Sad Clouds To: "John Levine" Cc: freebsd-questions@freebsd.org Subject: Re: local-unbound vs. dns/unbound Message-Id: <20240326204728.77de2d013a1cf546b8abe03d@gmail.com> In-Reply-To: <20240326194028.516F58634567@ary.qy> References: <20240326182155.f49f1239901deabb0dafb84d@gmail.com> <20240326194028.516F58634567@ary.qy> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) 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: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4V421J2wdQz49f3 On 26 Mar 2024 15:40:28 -0400 "John Levine" wrote: > It appears that Sad Clouds said: > >Hello, apologies if this has been asked before, but what is the > >difference between local-unbound vs. ports dns/unbound? > > It's a copy of unbound with a setup script that configures it as > a cache to run on 127.0.0.1. It looks in /etc/resolv.conf to use > any DNS forwarding you've set up and some other places for > stuff that seems more exotic. > > If you're using the unbound port or package that's instead of > local-unbound. The package version is updated more often, currently > 1.19.1 vs. 1.17.1 for local-unbound on fbsd 13.3. > > R's, > John Thanks. I'm not too fussed about using the latest version, as long as functionality is mostly the same. I'll play around with local-unbound and see if I can make it work for my use cases. I have a specific config I need to use, which I copied from my NetBSD unbound setup. Hopefully FreeBSD local-unbound config scripts are flexible enough to allow override of 127.0.0.1 and allow me to configure it my way.