Safemode
Regular Contributor
Hello and good day/night to everyone. I have been reading and following unbound for awhile now and since i haven't seen anyone else but L&LD and dave14305 post their modified configuration files for unbound i'm going to include mine if anyone is willing and interested in trying. I must add the developers involved have done a great job making unbound available for our routers. A very big Thank You...
P.S. This configuration is running smooth on my asus rt-ac3200. I also have Diversion and Skynet running aswell. Only two settings upon installation is SGUI and Fastmenu enabled, all others are skipped.
P.S.S. I'm open to opinions about this setup and ways of improving it (if necessary).
P.S. This configuration is running smooth on my asus rt-ac3200. I also have Diversion and Skynet running aswell. Only two settings upon installation is SGUI and Fastmenu enabled, all others are skipped.
P.S.S. I'm open to opinions about this setup and ways of improving it (if necessary).
Code:
# no threads and no memory slabs for threads
num-threads: 1
msg-cache-slabs: 1
rrset-cache-slabs: 1
infra-cache-slabs: 1
key-cache-slabs: 1
# tiny memory cache
extended-statistics: yes # v1.06 Martineau for @juched GUI TAB
cache-max-ttl: 86400
cache-min-ttl: 300
key-cache-size: 50m
msg-cache-size: 50m
rrset-cache-size: 100m
minimal-responses: yes
edns-buffer-size: 1232
harden-algo-downgrade: yes
harden-dnssec-stripped: yes
harden-referral-path: yes
identity: "DNS"
unwanted-reply-threshold: 10000
use-caps-for-id: yes
hide-identity: yes
hide-version: yes
do-not-query-localhost: no
qname-minimisation: yes
harden-glue: yes
harden-below-nxdomain: yes
aggressive-nsec: yes
rrset-roundrobin: yes
do-daemonize: no
neg-cache-size: 4m
harden-large-queries: yes
harden-short-bufsize: yes
ratelimit: 1000
val-clean-additional: yes
prefetch: yes
prefetch-key: yes
serve-expired: yes
deny-any: yes
incoming-num-tcp: 10
outgoing-num-tcp: 10
outgoing-range: 950
num-queries-per-thread: 512
# prefetch
# Ensure kernel buffer is large enough to not lose messages in traffic spikes
so-rcvbuf: 1m # v1.05 Martineau see DEFAULT /proc/sys/net/core/rmem_default
so-sndbuf: 1m
so-reuseport: yes
Last edited: