From owner-freebsd-questions@freebsd.org Tue Aug 8 17:13:18 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6E83EDC42E8 for ; Tue, 8 Aug 2017 17:13:18 +0000 (UTC) (envelope-from edgar@pettijohn-web.com) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 287AD6AE8E for ; Tue, 8 Aug 2017 17:13:17 +0000 (UTC) (envelope-from edgar@pettijohn-web.com) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id 874B36073F for ; Tue, 8 Aug 2017 13:13:16 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j5ctnxVMTH03 for ; Tue, 8 Aug 2017 13:13:04 -0400 (EDT) Received: from inet07.hamilton.harte-lyne.ca (inet07.hamilton.harte-lyne.ca [216.185.71.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "imap.hamilton.harte-lyne.ca", Issuer "CA HLL ISSUER 01" (not verified)) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPS for ; Tue, 8 Aug 2017 13:13:04 -0400 (EDT) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (verified OK)) by inet07.hamilton.harte-lyne.ca (Postfix) with ESMTPS id B1C378A0A9; Tue, 8 Aug 2017 13:13:03 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id 2DF366073F; Tue, 8 Aug 2017 13:13:03 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D34Ddp0RdJRs; Tue, 8 Aug 2017 13:12:50 -0400 (EDT) X-Greylist: delayed 877 seconds by postgrey-1.34 at inet08.hamilton.harte-lyne.ca; Tue, 08 Aug 2017 13:12:50 EDT Received: from mail.pettijohn-web.com (pettijohn-web.com [108.61.222.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.pettijohn-web.com", Issuer "Let's Encrypt Authority X3" (not verified)) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPS; Tue, 8 Aug 2017 13:12:50 -0400 (EDT) Received: from [10.94.245.53] (mobile-107-107-187-78.mycingular.net [107.107.187.78]) (authenticated bits=0) by mail.pettijohn-web.com (8.15.2/8.15.2) with ESMTPSA id v78Gw8IN052077 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 8 Aug 2017 11:58:10 -0500 (CDT) (envelope-from edgar@pettijohn-web.com) Date: Tue, 8 Aug 2017 11:58:03 -0500 From: edgar To: byrnejb , freebsd-questions Message-ID: In-Reply-To: <0f0b1cc202aa81fd46899dbd2aa44758.squirrel@webmail.harte-lyne.ca> Subject: Re: FreeBSD-11 local_unbound stops resolving MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Aug 2017 17:13:18 -0000 > > On Aug 8, 2017 at 11:45 AM, wrote: > > > I have a reoccurring issue with my recently installed FreeBSD workstation. The local_unbound dns service ceases to provide dns entries to the local resolver after some period of time; measured in many hours or days. I have checked the pf firewall logs and that is not blocking any traffic relating to DNS that I can detect. If I re-run local-unbound-setup then local_unbound again resolves. If I restart the local_unbound service then dns resolution again works. I cannot see anything in /var/log/messages that indicate that the unbound service has a problem and the service is indeed running when I encounter the issue. We have many other FreeBSD-11 hosts running local unbound and I have not noticed this issue anywhere else. This is the resolv.conf file # cat /etc/resolv.conf search harte-lyne.ca hamilton.harte-lyne.ca brockley-2016.harte-lyne.ca nameserver 127.0.0.1 nameserver 216.185.71.33 nameserver 216.185.71.34 options edns0 # cat /var/unbound/forward.conf # This file was g! enerated by local-unbound-setup. # Modifications will be overwritten. forward-zone: name: . forward-addr: 216.185.71.33 forward-addr: 216.185.71.34 -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 _______________________________________________ freebsd-questions@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > > I have that problem on my home firewall running openbsd. I think it is related to my dynamic ip. Not sure though. I just have a script that tests unbound and restarts if necessary run every 15 minutes. Unfortunately I never looked into it further because one I had a working workaround I forgot until this post. > > > > > Good luck. > From owner-freebsd-questions@freebsd.org Tue Aug 8 18:13:43 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1D216DC775D for ; Tue, 8 Aug 2017 18:13:43 +0000 (UTC) (envelope-from bsduser@cloudzeeland.nl) Received: from ares.cloudzeeland.nl (cloudzeeland.xs4all.nl [83.161.133.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cloudzeeland.nl", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CFF916D457 for ; Tue, 8 Aug 2017 18:13:42 +0000 (UTC) (envelope-from bsduser@cloudzeeland.nl) Received: from ares.cloudzeeland.nl (unknown [10.10.10.32]) by ares.cloudzeeland.nl (Postfix) with ESMTP id B4A0D4FAD1A5 for ; Tue, 8 Aug 2017 20:13:31 +0200 (CEST) Received: from [10.10.10.34] (styx.zeeland24.nl [82.176.127.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by ares.cloudzeeland.nl (Postfix) with ESMTPSA id 7B5954FAD1A1 for ; Tue, 8 Aug 2017 20:13:31 +0200 (CEST) Subject: Re: Wildcard on redirection From: Jos Chrispijn To: freebsd-questions@freebsd.org References: <25f022f4-4778-3f28-8d78-1f1b292f849e@cloudzeeland.nl> Organization: Userland rocks! Message-ID: <9b17fe92-1191-d460-6151-d82e97c50246@cloudzeeland.nl> Date: Tue, 8 Aug 2017 20:13:31 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <25f022f4-4778-3f28-8d78-1f1b292f849e@cloudzeeland.nl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: nl Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP on ares.cloudzeeland.nl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Aug 2017 18:13:43 -0000 Op 5-8-2017 om 13:58 schreef Jos Chrispijn: > Can you tell me how to solve? Thanks! > Thanks guys for helping me out on this. Sometime the simplest issues are the hardest to solve (grin). best regards, Jos Chrispijn