Re: unbound? -- Conf file?

2013-09-16 Thread Dag-Erling Smørgrav
Nathan Whitehorn  writes:
> A related note: it seems like the /etc bits for unbound have not been
> hooked up. There is no default config (this post) but also no RC
> script, for example.

...yet.

DES
-- 
Dag-Erling Smørgrav - d...@des.no
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: unbound? -- Conf file?

2013-09-16 Thread Nathan Whitehorn

On 09/16/13 03:54, Larry Rosenman wrote:
I took the minimalist file from man unbound.conf, and the 
unbound-checkconf

and unbound itself does NOT like it:


A related note: it seems like the /etc bits for unbound have not been 
hooked up. There is no default config (this post) but also no RC script, 
for example.

-Nathan
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


unbound? -- Conf file?

2013-09-16 Thread Larry Rosenman

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: l...@lerctr.org
US Mail: 108 Turvey Cove, Hutto, TX 78634-5688
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"