knot: rewrite role
This commit is contained in:
@ -1,4 +1,15 @@
|
||||
---
|
||||
knot_version: ""
|
||||
|
||||
# XDP datapath options
|
||||
# Note: rfc2136 aka nsupdate aka dynamic update
|
||||
# not working with XDP
|
||||
knot_xdp: false
|
||||
knot_xdp_interface: "eth0"
|
||||
|
||||
# QUIC protocol
|
||||
knot_quic: false
|
||||
|
||||
knot_conf: |
|
||||
# This is a sample of a minimal configuration file for Knot DNS.
|
||||
# See knot.conf(5) or refer to the server documentation.
|
||||
@ -8,7 +19,16 @@ knot_conf: |
|
||||
user: knot:knot
|
||||
listen: [ 0.0.0.0@53, ::@53 ]
|
||||
udp-max-payload: 1232
|
||||
|
||||
{% if knot_quic %}
|
||||
listen-quic: [ 0.0.0.0, :: ]
|
||||
{% endif %}
|
||||
{% if knot_xdp %}
|
||||
xdp:
|
||||
listen: {{ knot_xdp_interface }}
|
||||
udp: true
|
||||
tcp: true
|
||||
quic: true
|
||||
{% endif %}
|
||||
log:
|
||||
- target: syslog
|
||||
any: debug
|
Reference in New Issue
Block a user