Skip to content

Commit

Permalink
Add a configuration example to manpage
Browse files Browse the repository at this point in the history
add configuration example of sending to UDP via IPv6 at
port 9999 while excluding some domains

also fix a typo in manpage
  • Loading branch information
reedjc committed Apr 17, 2023
1 parent 5e67498 commit d51df38
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion dnstap-sensor.8
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Output additional logging to standard error for debugging.
.TP
.B --udp_output udp:\fIaddress\fB:\fIport\fB
Send output NMSG data via UDP to \fIaddress\fR:\fIport\fR. The prefix \fBudp\fR
may be replaced with \fBudp4\fR or \fBudp6\fR to force IPv4 of IPv6 transport.
may be replaced with \fBudp4\fR or \fBudp6\fR to force IPv4 or IPv6 transport.

A \fB--udp_output\fR may be specified instead of or in addition to server URIs.
If both are specified, data will be sent to both the UDP output and one of the
Expand Down Expand Up @@ -230,3 +230,15 @@ Same as above, using config file, apikey file:

% dnstap-sensor -config /etc/dnstap-sensor/dnstap-sensor.conf
.fi

The following is a configuration example of sending to UDP via IPv6 at
port 9999 while excluding some domains:

.nf
dnstap_input: /var/run/dnstap.sock
udp_output: udp:[2001:0db8:1234:5678:90ab:cdef:1234:5678]:9999
filter_qnames:
- host.example
- foo.invalid
- abcd.example.net
.fi

0 comments on commit d51df38

Please sign in to comment.