From owner-freebsd-questions@FreeBSD.ORG Fri Jun 13 19:34:15 2014 Return-Path: Delivered-To: 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 831B933C for ; Fri, 13 Jun 2014 19:34:15 +0000 (UTC) Received: from mario.brtsvcs.net (mario.brtsvcs.net [IPv6:2607:fc50:0:a400::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5A6E42E13 for ; Fri, 13 Jun 2014 19:34:15 +0000 (UTC) Received: from chombo.houseloki.net (unknown [IPv6:2601:7:880:bd0:21c:c0ff:fe7f:96ee]) by mario.brtsvcs.net (Postfix) with ESMTPSA id 3EE422C1630; Fri, 13 Jun 2014 12:34:13 -0700 (PDT) Received: from [IPv6:2601:7:2280:38b:558a:cfd2:646d:c36a] (unknown [IPv6:2601:7:2280:38b:558a:cfd2:646d:c36a]) by chombo.houseloki.net (Postfix) with ESMTPSA id 6FA95BCF; Fri, 13 Jun 2014 12:34:11 -0700 (PDT) Message-ID: <539B522B.4060004@bluerosetech.com> Date: Fri, 13 Jun 2014 12:34:03 -0700 From: Darren Pilgrim Reply-To: questions@freebsd.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd@fongaboo.com, questions@freebsd.org Subject: Re: Stupid Unbound questions References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2014 19:34:15 -0000 On 6/12/2014 3:49 PM, freebsd@fongaboo.com wrote: > > Messing around with FreeBSD10 on an AMD64 machine. Trying to play with > Unbound. Installed it from ports. > > 1) When I run unbound-control or unbound-checkconf, it seems to be looking > for /var/unbound/ which doesn't seem to exist. That's the local_unbound workdir. It's created automatically when the local_unbound service is started for the first time. You can run through the initial set up by using the "setup" command for the service. > 2) How do I create an authoritative record? Do they still live in > individual text files like BIND? Unbound is a resolver only, not an authoritative nameserver. Install BIND, NSD, etc. from ports if you want a nameserver. Unbound does support local data, though, using the local-zone, local-data, and local-data-ptr keywords in your unbound.conf.