From owner-freebsd-questions@freebsd.org Fri Nov 29 22:14:39 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 EA2621BDF42 for ; Fri, 29 Nov 2019 22:14:39 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47PphZ5lNMz4N4H for ; Fri, 29 Nov 2019 22:14:38 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([188.102.111.227]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPA (Nemesis) id 1MVaQW-1iBcgX4B9g-00Rd7r; Fri, 29 Nov 2019 23:14:34 +0100 Date: Fri, 29 Nov 2019 23:14:30 +0100 From: Polytropon To: starikarp@dismail.de Cc: ajtiM via freebsd-questions Subject: Re: loca;_unbound logfile Message-Id: <20191129231430.234ce775.freebsd@edvax.de> In-Reply-To: <20191129164901.6d367802@dismail.de> References: <20191129164901.6d367802@dismail.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:GBZbYGpM/bTm/qqI+6LR06dgTd5iSO+V04MHrWOe5HrGuY8CH8m d0SBOQBqw/SPE8t37clciH4OANKBhY7afZD1PFuFxWYMIwWXRix/3bZuSqZfhboG2q7WeBJ ViDx6iN/W8EQdMq4s0yhdPD/zLs5oOXyE2aCzVSRiLzvUO5prIFBN3/776HNh98iEMM0ngO HBD05t2Fy0IM3jScGzPBg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:nVgJoMnHIWU=:FbmovqqPQC7nrRSTaYJlLQ ra4esNa0jcVm2ITrDRjgsKOWMdSzeuBW/u9sHPoSoXGP19qPlojC4HyhXMAqMyH2i5psBpHOO 4KlMIRpIh30GR+7MuQQArQ2b9sA3UxvUs9j2xRrccIBOY/9CAIbhwhSoiO4ZlkruueYYx9sMH AfiBtiCXXKyXf34I0RYPMRtGKFtdc8dp0cf9DTezcF0UnhZmBRyr97cr+Nx8ief5xE6nFBmKO 0/hKHSl/kafRODSgr0zy8MMsygBajkznEHx1Z/OqQKEmxo9zhtbFER6SVHLzNIKc0lmyIhYEA 7h/DGnES7YDRLR/1j8rv7ukz62Ikpn0NBdKApYYHkavthIqiDuf4Wb9z3075sN9fyYK8jIHVc nl9Az6Y/UyyesiAyFKOb1LE5Vh0qkitYSvEmUSxpzY2oSdquVtBVdBuz368BaDnhGOz1H2Eqr tifO8eAecmtgOYWq+h9wSnCiKTs7psoRaDETCPaVA+l34eKD7bekpKhjsTjcnm6sbGbDKEu3t +ehWOog8FuKku0I/k1XTSady4WnAOR81Opv9h7SHwUdgMeJitBZ+pRKZDl+GfTOWXVetwwQUM eI61mgA0tTW0XENmIKYA5dggvHbbrvm2SLsjD/YwGssA/nl6Do4c29CvJ+MkkVf3szOymEHc8 +2uy7K20YCLCwZvOTsfvzewqFZIzN5TpaRulgUFz/G8nddsQY6RsXW4qMeVQSCmxs/AkOsKDq Fkf/ArV9u/UTT53oM9OySnM/B1AfQbu7L3qITucl/r7SIWWR37Jwrgn+wARjBExxRN0S6Aj4x FjL63zNA8G1Hq9yrOtzn0dz2Qm0rPijqjSUPASZyt3U1UogFQMAn6Ff/uBPTP08AE/CDbE15p Zbs9SAO3zYV4cjjBjv2w== X-Rspamd-Queue-Id: 47PphZ5lNMz4N4H X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.131) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.86 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[227.111.102.188.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.96)[0.960,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.99)[0.988,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[131.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.51)[ip: (1.49), ipnet: 212.227.0.0/16(-1.22), asn: 8560(2.29), country: DE(-0.01)] 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: Fri, 29 Nov 2019 22:14:40 -0000 On Fri, 29 Nov 2019 16:49:01 -0500, ajtiM via freebsd-questions wrote: > I am using local_unbound from base OS for DNS over TLS and it works. I > try to setup logfile. 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 > logfile: /var/log/unbound.log > log-queries: yes > include: /var/unbound/forward.conf > include: /var/unbound/lan-zones.conf > include: /var/unbound/control.conf > include: /var/unbound/conf.d/*.conf > > I added just two lines related to log. > And local-unbound-checkconf shows that are no errors in > /var/unbound/unbound.conf but directory is empty Try creating the logfile manually: # touch /var/log/unbound.log Do you get any error messages on system startup or in the /var/log/messages related to unbound? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...