From patchwork Wed May 1 02:16:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 2231 Return-Path: Received: from mail01.ipfire.org (unknown [172.28.1.200]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail01.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web07.i.ipfire.org (Postfix) with ESMTPS id 7202685BD81 for ; Tue, 30 Apr 2019 17:17:41 +0100 (BST) Received: from mail01.i.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 44tms10V7Nz5H9PF; Tue, 30 Apr 2019 17:17:41 +0100 (BST) Received: from ipfire.tremer.co.uk (unknown [88.215.19.234]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 44tmrX2xbBz57vqH; Tue, 30 Apr 2019 17:17:16 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201904rsa; t=1556641036; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references:openpgp:autocrypt; bh=E9Blmx+rV5O+pQ9IoBkYTCe5F23YpQ/RegvMYnawZe4=; b=PMddT0eqwzO/sZqReKTsVXekGAUqJQ0mr4xKWtitn/pFbOWBVf/66iBifgGSkIrCgHJf1b Jo2/HkR1JVIOW9FOOQvItHU9jHWDi7bWZgflnWyG8RQQgAl6JmHzxnGvPQyUfkgBwq25DX 8MUhS86AuPLaJUi9IMjK3djF0SzQf53WXdX9Lw2tYtTL0rttcWkXhjjEQilPtDhyXYyhgF qR0kSctD2ejByde5MvaOH3un/HP8LWgPfhB+7xqASF8ne5BkMnEVqHAqZlmAaJ4iOCc/Mn dGpOOHYi42NR/K+etw2/XgmuldPv3fKQ43d7fPp+minD/mgyLpAjpI6MnLecFg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=201904ed25519; t=1556641036; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references:openpgp:autocrypt; bh=E9Blmx+rV5O+pQ9IoBkYTCe5F23YpQ/RegvMYnawZe4=; b=iKxxt8Atuju5OmTdiyZQdSSEYY4LKajnfaLJ+dzw1PZVMzUZcfAieUHRXYrqSd+fGqcfDk WrAUDTwr7dsEAeBQ== From: Michael Tremer To: development@lists.ipfire.org Subject: [RFC PATCH 7/8] unbound: Fix domain name for Google Safe Search Date: Tue, 30 Apr 2019 17:16:44 +0100 Message-Id: <20190430161645.24261-8-michael.tremer@ipfire.org> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20190430161645.24261-1-michael.tremer@ipfire.org> References: <20190430161645.24261-1-michael.tremer@ipfire.org> Authentication-Results: mail01.ipfire.org; auth=pass smtp.auth=ms smtp.mailfrom=michael.tremer@ipfire.org Cc: Michael Tremer X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- src/initscripts/system/unbound | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/initscripts/system/unbound b/src/initscripts/system/unbound index 318656b80..3e372ff65 100644 --- a/src/initscripts/system/unbound +++ b/src/initscripts/system/unbound @@ -701,7 +701,7 @@ write_safe_search_conf() { local domain for domain in ${google_tlds[@]}; do echo " local-zone: ${domain} transparent" - echo " local-data: \"${domain} CNAME forcesafesearch.google.com.\"" + echo " local-data: \"www.${domain} CNAME forcesafesearch.google.com.\"" done # Yandex