From patchwork Wed Feb 5 11:45:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 2759 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 48CKWq1c17z3xyQ for ; Wed, 5 Feb 2020 11:45:59 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 48CKWm3Bttz6Zn; Wed, 5 Feb 2020 11:45:56 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 48CKWm1WXdz2ySJ; Wed, 5 Feb 2020 11:45:56 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 48CKWj4G6rz2yW9 for ; Wed, 5 Feb 2020 11:45:53 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 48CKWj1H6Gz6ZP; Wed, 5 Feb 2020 11:45:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201909rsa; t=1580903153; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=O17lS81ybd0kFBPrhELLFTGPtUy9mBDzx6NQTrXutz8=; b=a8Sf/tRNSinq3OzGc+0BCIRkRos5S5UF4eyyx4vQ6T3KY9dvilqMks3pR+sc6jxKmFVmPr VgOlLmob3V1ITaH0nfrGCpGcfVl0MPyvGkbne/CGEder/A1/Hfy7oz0B9WG8oH9VdxVFM/ STNj5Bc7svhe8Kpq9RNTeJnI47IUxct+SD89JEvwTBRw34wdO/m8uuRDCtpOREHTmSrSI3 +qHrYpGtRtXcyfhTv7PcRE883brPU/R9rtB7ptVuzNctweJ2/fUrxO2svUShMZonWqzuS8 Rf6hudg5IHb4vNVHYGUhq9ojz9L/DpPvks6buXPMcMFhJ4g/KFY3Fzd0XBHMMw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=201909ed25519; t=1580903153; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=O17lS81ybd0kFBPrhELLFTGPtUy9mBDzx6NQTrXutz8=; b=n6r5gftqZA0FAL9YXtXoAxiW5f++O1M6ny4eTSsIh/giKlrlR9xlAB52jr2twYGAilbdhL cHRnPysvcF6fV/Bg== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 5/5] resolv.conf: Add "trust-ad" option Date: Wed, 5 Feb 2020 11:45:47 +0000 Message-Id: <20200205114547.16047-5-michael.tremer@ipfire.org> In-Reply-To: <20200205114547.16047-1-michael.tremer@ipfire.org> References: <20200205114547.16047-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Since we are running unbound locally which always runs DNSSEC validation, we can simply trust it and pass the ad flag on to applications which make use of it. Signed-off-by: Michael Tremer --- src/initscripts/system/localnet | 1 + 1 file changed, 1 insertion(+) diff --git a/src/initscripts/system/localnet b/src/initscripts/system/localnet index a16b32e46..0d01bd300 100644 --- a/src/initscripts/system/localnet +++ b/src/initscripts/system/localnet @@ -19,6 +19,7 @@ write_resolv_conf() { ( [ -n "${DOMAINNAME}" ] && echo "search ${DOMAINNAME}" echo "nameserver 127.0.0.1" + echo "options trust-ad" ) > /etc/resolv.conf }