Update install-knot-resolver.ps1

This commit is contained in:
Markus Fleschutz 2021-08-22 16:20:36 +02:00
parent a8f2d95f96
commit 92f1d04de3
2 changed files with 8 additions and 6 deletions

View File

@ -1,15 +1,17 @@
-- LISTENING:
-- SETTINGS FOR KNOT RESOLVER (adapt to your needs, please)
-- LISTEN TO:
net.listen({'127.0.0.1', '::1'}, 53, { kind = 'dns' })
net.listen({'127.0.0.1', '::1'}, 853, { kind = 'tls' })
net.listen('192.168.178.71', 53, { kind = 'dns' })
net.listen('192.168.178.71', 853, { kind = 'tls' })
-- CACHE:
cache.size = 100 * MB
cache.min_ttl(3600) -- min time-to-live is 1 hour
cache.max_ttl(604800) -- max time-to-live is 1 week
cache.size = 100 * MB -- 100 MB cache size
cache.min_ttl(3600) -- 1 hour minimum time-to-live
cache.max_ttl(604800) -- 1 week maximum time-to-live
-- FORWARDING:
-- FORWARD TO:
policy.add(policy.all(
policy.FORWARD(
{'192.168.178.1', -- Fritz!Box

View File

@ -26,7 +26,7 @@ try {
"Step 3/4: Let User Configure..."
sudo vi /var/snap/knot-resolver-gael/current/kresd.conf
"Step 4/4: Starting Knot Resolver..."
"Step 4/4: Start Knot Resolver..."
sudo snap start knot-resolver-gael
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds