]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
unbound: Re-use UDP sockets
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 28 Mar 2017 09:17:33 +0000 (10:17 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 28 Mar 2017 09:17:33 +0000 (10:17 +0100)
This will make UDP queries faster

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/system/unbound

index 6ea49f5d809cf685e9123a0b3af36519f0731e00..00dc301e193b6a5610a04ab20c0c09bf629331d5 100644 (file)
@@ -262,6 +262,7 @@ write_tuning_conf() {
 
                # We run one thread per processor
                echo "num-threads: ${processors}"
+               echo "so-reuseport: yes"
 
                # Adjust number of slabs
                echo "infra-cache-slabs: ${slabs}"