From owner-freebsd-current@FreeBSD.ORG Mon Sep 16 08:54:15 2013 Return-Path: Delivered-To: freebsd-current@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 ESMTP id 7820E88A for ; Mon, 16 Sep 2013 08:54:15 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (lrosenman-1-pt.tunnel.tserv8.dal1.ipv6.he.net [IPv6:2001:470:1f0e:3ad::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4BAC7286D for ; Mon, 16 Sep 2013 08:54:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Content-Type:MIME-Version:Message-ID:Subject:To:Sender:From:Date; bh=H/HS1eem9fJNrf3zSN9UyOOwnY+2I3ryWSh9TU/8K/I=; b=arAD0VOaoSZmarbUldDCnrB8eBXi4WMGbkEgf4EeDkKuGH/NHyR8FTQW06oGVgpr3hUB4kG8s33sW/02QEe+D9CTfHk/pMxkiJ0YRPLyvexbS7EGe+i4tuIVJfQ690TAo1rPavmf/lm2rBEtLyCr5ti206ISsx9Ojn3mEEYs14A=; Received: from cpe-72-182-93-216.austin.res.rr.com ([72.182.93.216]:36880 helo=borg) by thebighonker.lerctr.org with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1VLUZQ-0007bF-TC for freebsd-current@freebsd.org; Mon, 16 Sep 2013 03:54:14 -0500 Date: Mon, 16 Sep 2013 03:54:10 -0500 (CDT) From: Larry Rosenman Sender: ler@borg To: freebsd-current@freebsd.org Subject: unbound? -- Conf file? Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Spam-Score: -2.9 (--) X-LERCTR-Spam-Score: -2.9 (--) X-Spam-Report: SpamScore (-2.9/5.0) ALL_TRUSTED=-1,BAYES_00=-1.9 X-LERCTR-Spam-Report: SpamScore (-2.9/5.0) ALL_TRUSTED=-1,BAYES_00=-1.9 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Sep 2013 08:54:15 -0000 I took the minimalist file from man unbound.conf, and the unbound-checkconf and unbound itself does NOT like it: # unbound-checkconf /etc/unbound/unbound.conf:2: error: syntax error read /etc/unbound/unbound.conf failed: 1 errors in configuration file # ^D$ $ pwd /home/ler $ cat /etc/unbound/unbound.conf # unbound.conf(5) config file for unbound(8). server: directory: "/etc/unbound" username: unbound # make sure unbound can access entropy from inside the chroot. # e.g. on linux the use these commands (on BSD, devfs(8) is used): # mount --bind -n /dev/random /etc/unbound/dev/random # and mount --bind -n /dev/log /etc/unbound/dev/log chroot: "/etc/unbound" # logfile: "/etc/unbound/unbound.log" #uncomment to use logfile. pidfile: "/etc/unbound/unbound.pid" # verbosity: 1 # uncomment and increase to get more logging. # listen on all interfaces, answer queries from the local subnet. interface: 0.0.0.0 interface: ::0 access-control: 10.0.0.0/8 allow access-control: 2001:DB8::/64 allow $ So, what's the real problem, as the syntax error message is useless. Thanks! -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 108 Turvey Cove, Hutto, TX 78634-5688