Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2019 09:53:28 -0500
From:      <starikarp@dismail.de>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   unbound
Message-ID:  <20191127095328.68ea5c67@dismail.de>

next in thread | raw e-mail | index | archive | help
Hi!

I did setup on FreeBSD 12.1-RELEASE-p1 for DNS over TLS use
local_unbound fron the base OS.
In /var/unbound I have
control.conf
forward.conf
lan-zones.conf
root.key
unbound.conf

In unbound.conf I have:

-- # This file was generated by local-unbound-setup.
# Modifications will be overwritten.
server:
	username: unbound
	directory: /var/unbound
	chroot: /var/unbound
	pidfile: /var/run/local_unbound.pid
	auto-trust-anchor-file: /var/unbound/root.key

include: /var/unbound/forward.conf
include: /var/unbound/lan-zones.conf
include: /var/unbound/control.conf
include: /var/unbound/conf.d/*.conf

and in forward.conf I put:

# This file was generated by local-unbound-setup.
# Modifications will be overwritten.
forward-zone:
	name: "."
	forward-tls-upstream: yes
	forward-addr: 80.241.218.68@853

When I run local-unbound -checkconf I got:
[1574865868] local-unbound[76851:0] error: Could not open heckconf: No
such file or directory=20
[1574865868] local-unbound[76851:0] warning:Continuing with default config =
settings=20
[1574865868]local-unbound[76851:0] error: bind: address already in use=20
[1574865868]local-unbound[76851:0] fatal error: could not open ports

What I am doing wrong, please?
Should I switch to unbound from ports?

Thank you.

=E2=80=9Cgood people do not need laws to tell them to act responsibly, while
bad people will find a way around the laws=E2=80=9D=20

Plato



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191127095328.68ea5c67>