mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-08 09:04:18 +01:00
Update install-unbound.ps1
This commit is contained in:
parent
bd9da27782
commit
a92b643132
@ -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)
|
||||
|
||||
|
@ -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" }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user