From owner-freebsd-questions@freebsd.org Tue Dec 1 16:35:33 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7D9A54AD9FA for ; Tue, 1 Dec 2020 16:35:33 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ClnlS5yvMz4W55 for ; Tue, 1 Dec 2020 16:35:32 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wr1-x433.google.com with SMTP id 64so3588577wra.11 for ; Tue, 01 Dec 2020 08:35:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ims9RsyyY4cAouN930g04KFjjXNBeQfC/I7WS/GkXFQ=; b=MneXHbimaFM2p11IprOHAxz8/GwI1UllF/ZpKeDAAner5dlz1vscGuh8nIn09mnZZF eEaOtxqu1tS9DrTBdLI9RTiONlxAQ6I6lWRGciIwIECJroAcmAZheNTmxWxfiKmiHwTk +tO3ixKYYgz6j/tPqLcKMO59VVxCurupKpiZ5wT0ZeNBVty7x01h89FqLKw283Esg564 DQpiN37z7YGmSh2tiLJZpVMvN5yy/1EXJVk9TSkcjw1Gp5DjhBaWEh+qanKtQsyTcYzH SSn0GRN7ViPi7AJggdYl1F4u7dcqcoNbrMfogdSqiWqTwa/AgkgHYROy3ObcIn3Jee4/ 581w== X-Gm-Message-State: AOAM532fOLxlHatcNNbdBtTUzex+8s13rBxfH98/1VvdG21ebNA7SMNe lmZReL1kiZb5nNK1IxhS9vKEHbyXTRw6hQ== X-Google-Smtp-Source: ABdhPJzBP9Rt3xKDfg5Wvd+xEMqkdzfM8E2cGgky4FO9N0ffLsuJvRm87vK9EPqCUl5TnXE6K4tNZQ== X-Received: by 2002:adf:b64b:: with SMTP id i11mr4954846wre.78.1606840530356; Tue, 01 Dec 2020 08:35:30 -0800 (PST) Received: from gumby.homeunix.com ([2.217.225.167]) by smtp.gmail.com with ESMTPSA id k11sm487363wmj.42.2020.12.01.08.35.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2020 08:35:29 -0800 (PST) Date: Tue, 1 Dec 2020 16:35:25 +0000 From: RW To: freebsd-questions@freebsd.org Subject: Re: Unbound Message-ID: <20201201163525.11cd1f79@gumby.homeunix.com> In-Reply-To: References: <20201130222149.d7b8783764a036548c29fdd5@web.de> <20201130223849.237eb9fe@gumby.homeunix.com> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4ClnlS5yvMz4W55 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.98 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-0.98)[-0.983]; RECEIVED_SPAMHAUS_PBL(0.00)[2.217.225.167:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::433:from]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::433:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::433:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Dec 2020 16:35:33 -0000 On Tue, 1 Dec 2020 12:42:07 +0000 Arthur Chance wrote: > > I'd be interested to know whether it does work because someone once > > mentioned that local_unbound only supports forwarding, but I've > > never found anything to back that up. > > From memory, if you've not set anything up the first time > local_unbound runs it reads your /etc/resolv.conf to gather your > resolvers and creates an unbound.conf that uses them for forwarding > for all domains. It set itself-up with google and opendns caches when I tried it. > If you've set things up yourself it just runs with > that, but take a look at /etc/rc.d/local_unbound to find out which > file(s) it needs to see in order to avoid the default configuration > process. It's all gets tied-in to dnsconf and the various configuration files come with warnings that they are autogenerated and could be overwritten. I have no need for dnsconf, so I just installed the package version which works recursively by default. The question was more about whether the binary supports recursion. As I said, someone on the list (from the project) said that it doesn't. He may just have meant that they made it awkward to turn-off forwarding, but there's clearly something built-out of the local version: $ du -k /usr/sbin/local-unbound /usr/local/sbin/unbound 148 /usr/sbin/local-unbound 1024 /usr/local/sbin/unbound