Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 2020 20:44:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 248828] dns/unbound 1.11.0 with option dnstap socket error
Message-ID:  <bug-248828-7788-worCiZ1ylh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-248828-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-248828-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248828

--- Comment #3 from Jaap Akkerhuis <jaap@NLnetLabs.nl> ---
(In reply to p5B2E9A8F from comment #2)
Unbound won't create the socket, it only wants to (re-)connect with an exis=
ting
one off which there is a program listening. The canonical example is discus=
sed
at <https://dnstap.info/Examples/>.

Alternatively, you could also use the test tool which is hidden in the unbo=
und
release. Go to ../unbound/work/unbouns-1.11.0. Create the test tool (make
unbound-dnstap-socket). ./unbound-dnstap-socket -h tells you how to use it:

./unbound-dnstap-socket -h
usage: unbound-dnstap-socket [options]
        Listen to dnstap messages
stdout has dnstap log, stderr has verbose server log
-u <socketpath> listen to unix socket with this file name
-s <serverip[@port]> listen for TCP on the IP and port
-t <serverip[@port]> listen for TLS on IP and port
-x <server.key> server key file for TLS service
-y <server.pem> server cert file for TLS service
-z <verify.pem> cert file to verify client connections
-l              long format for DNS printout
-v              more verbose log output
-h              this help text

Note that this is just a testing tool, it is not meant for daily use.

        jaap

BTW, don't forget to make sure that unbound can read/write to the socket.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248828-7788-worCiZ1ylh>