From owner-freebsd-questions@FreeBSD.ORG Tue Nov 12 23:08:21 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 63E9CD0 for ; Tue, 12 Nov 2013 23:08:21 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 28F5B2F93 for ; Tue, 12 Nov 2013 23:08:20 +0000 (UTC) Received: from r56.edvax.de (port-92-195-117-74.dynamic.qsc.de [92.195.117.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 9708C3CEE2 for ; Wed, 13 Nov 2013 00:08:13 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id rACN81sQ002940 for ; Wed, 13 Nov 2013 00:08:01 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 13 Nov 2013 00:08:01 +0100 From: Polytropon To: Subject: Re: unbound and ntp in FreeBSD 10 Beta 3 Message-Id: <20131113000801.23545a67.freebsd@edvax.de> In-Reply-To: <005401cedffa$087868d0$19693a70$@seibercom.net> References: <00dc01cedf99$5e1c0cd0$1a542670$@seibercom.net> <44d2m5b9zc.fsf@be-well.ilk.org> <005401cedffa$087868d0$19693a70$@seibercom.net> 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-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2013 23:08:21 -0000 On Tue, 12 Nov 2013 17:53:40 -0500, Gerard Seibert wrote: > From what I can find, I only have to place that declaration > in the rc.conf file to get unbound working. I found the info > here: http://blog.des.no/2013/09/local-caching-resolver-in-freebsd-10/ > However, I am not sure if I am also supposed to put the "service > local_unbound start" line into the rc.conf file also. If not; > how am I supposed to start the service? I think the directions > could use a little clarification. Even though /etc/rc.conf is a shell script (i. e., it is being sourced by other shell scripts), it should only contain the variable declarations. The entry local_unbound_enable="YES" should be sufficient to start unbound at system startup automatically. This entry is a requirement also for manually starting unbound after the system has been started, with the command # service local_unbound start as you've correctly mentioned. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...