From owner-freebsd-questions@freebsd.org Wed Nov 27 14:53:42 2019 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 B859E1AE39B for ; Wed, 27 Nov 2019 14:53:42 +0000 (UTC) (envelope-from starikarp@dismail.de) Received: from mx1.dismail.de (mx1.dismail.de [78.46.223.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.dismail.de", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47NP0j2cZ8z497G for ; Wed, 27 Nov 2019 14:53:40 +0000 (UTC) (envelope-from starikarp@dismail.de) Received: from dismail.de (localhost [127.0.0.1]) by dismail.de (OpenSMTPD) with ESMTP id 7e4c4059 for ; Wed, 27 Nov 2019 15:53:39 +0100 (CET) Received: from smtp1.dismail.de (10.240.26.11 [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 4003d4c7 for ; Wed, 27 Nov 2019 15:53:38 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 7499528c for ; Wed, 27 Nov 2019 15:53:38 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 69c016e8 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Wed, 27 Nov 2019 15:53:38 +0100 (CET) Date: Wed, 27 Nov 2019 09:53:28 -0500 From: Cc: FreeBSD Questions Subject: unbound Message-ID: <20191127095328.68ea5c67@dismail.de> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 47NP0j2cZ8z497G X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.29 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[dismail.de:s=20190914]; RCVD_TLS_LAST(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.0.3.85]; R_SPF_ALLOW(-0.20)[+ip4:78.46.223.134]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[dismail.de.dwl.dnswl.org : 127.0.5.1]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(-2.19)[ip: (-9.91), ipnet: 78.46.0.0/15(0.55), asn: 24940(-1.57), country: DE(-0.01)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[dismail.de:+]; DMARC_POLICY_ALLOW(-0.50)[dismail.de,reject]; FROM_NO_DN(0.00)[]; MISSING_TO(2.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[134.223.46.78.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:78.46.0.0/15, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; SH_EMAIL_ZRD(0.00)[0.0.3.85] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Nov 2019 14:53:42 -0000 Hi! I did setup on FreeBSD 12.1-RELEASE-p1 for DNS over TLS use local_unbound fron the base OS. In /var/unbound I have control.conf forward.conf lan-zones.conf root.key unbound.conf In unbound.conf I have: -- # This file was generated by local-unbound-setup. # Modifications will be overwritten. server: username: unbound directory: /var/unbound chroot: /var/unbound pidfile: /var/run/local_unbound.pid auto-trust-anchor-file: /var/unbound/root.key include: /var/unbound/forward.conf include: /var/unbound/lan-zones.conf include: /var/unbound/control.conf include: /var/unbound/conf.d/*.conf and in forward.conf I put: # This file was generated by local-unbound-setup. # Modifications will be overwritten. forward-zone: name: "." forward-tls-upstream: yes forward-addr: 80.241.218.68@853 When I run local-unbound -checkconf I got: [1574865868] local-unbound[76851:0] error: Could not open heckconf: No such file or directory=20 [1574865868] local-unbound[76851:0] warning:Continuing with default config = settings=20 [1574865868]local-unbound[76851:0] error: bind: address already in use=20 [1574865868]local-unbound[76851:0] fatal error: could not open ports What I am doing wrong, please? Should I switch to unbound from ports? Thank you. =E2=80=9Cgood people do not need laws to tell them to act responsibly, while bad people will find a way around the laws=E2=80=9D=20 Plato