Update install-unbound.ps1

This commit is contained in:
Markus Fleschutz 2022-06-02 16:04:33 +02:00
parent bd9da27782
commit a92b643132
2 changed files with 4 additions and 4 deletions

View File

@ -19,14 +19,14 @@ server:
hide-version: yes # less verbose responses
verbosity: 0 # log nothing
# PERFORMANCE SETTINGS:
num-threads: 2 # number of threads to use (not more than CPU cores)
num-threads: 1 # number of threads to use (not more than CPU cores)
msg-cache-size: 100m
rrset-cache-size: 200m
aggressive-nsec: yes
prefetch: yes # refresh expiring cache entries, if less than 10% of their TTL remains
prefetch-key: yes
cache-min-ttl: 3600 # cache positive responses for 1 hour minimum
cache-max-ttl: 172800 # cache positive responses for 2 days maximum
cache-min-ttl: 7200 # cache positive responses for 2 hours minimum
cache-max-ttl: 259200 # cache positive responses for 3 days maximum
cache-max-negative-ttl: 3600 # cache negative responses for 1 hour maximum
so-reuseport: yes # faster UDP with multithreading (only on Linux)

View File

@ -49,7 +49,7 @@ try {
& sudo unbound-control status
if ($lastExitCode -ne "0") { throw "'unbound-control status' failed" }
"⏳ Step 9/9: Training Unbound with frequent used domain names..."
"⏳ Step 9/9: Training Unbound with frequently used domain names..."
& "$PSScriptRoot/check-dns.ps1"
if ($lastExitCode -ne "0") { throw "'unbound-control status' failed" }