unbound

starikarp at dismail.de starikarp at dismail.de
Wed Nov 27 14:53:42 UTC 2019


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 at 853

When I run local-unbound -checkconf I got:
[1574865868] local-unbound[76851:0] error: Could not open heckconf: No
such file or directory 
[1574865868] local-unbound[76851:0] warning:Continuing with default config settings 
[1574865868]local-unbound[76851:0] error: bind: address already in use 
[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.

“good people do not need laws to tell them to act responsibly, while
bad people will find a way around the laws” 

Plato


More information about the freebsd-questions mailing list