Commit f34e6821 authored by skorpy's avatar skorpy 👷

Optimise unbound:

configure larger socket buffer
add more cache memory, rrset=msg*2
configure more outgoing connections with libevent

https://nlnetlabs.nl/documentation/unbound/howto-optimise/
parent 3c579fb0
Pipeline #24122 passed with stages
in 1 minute and 47 seconds
......@@ -36,6 +36,18 @@ server:
rrset-roundrobin: yes
minimal-responses: no
# more outgoing connections with libevent
outgoing-range: 8192
num-queries-per-thread: 4096
# more cache memory, rrset=msg*2
rrset-cache-size: 100m
msg-cache-size: 50m
# Larger socket buffer
so-rcvbuf: 4m
so-sndbuf: 4m
{%- if 'forwarder' in salt['pillar.get']('roles', []) and salt['pillar.get']('dns:dns64', True) and salt['pillar.get']('dns:forwarder:dns64', True) and salt['pillar.get']('dns:unbound:dns64', True) %}
# DNS64
module-config: "dns64 validator iterator"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment