Add install-knot-resolver.ps1

This commit is contained in:
Markus Fleschutz
2021-08-22 16:09:50 +02:00
parent 1d9693f565
commit a8f2d95f96
6 changed files with 75 additions and 2 deletions

27
Data/default.kresd.conf Normal file
View File

@ -0,0 +1,27 @@
-- LISTENING:
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
-- FORWARDING:
policy.add(policy.all(
policy.FORWARD(
{'192.168.178.1', -- Fritz!Box
'1.1.1.1', -- Cloudflare #1
'1.0.0.1' -- Cloudflare #2
})
))
-- MODULES:
modules = {
predict = {
window = 15, -- 15 minutes sampling window
period = 6*(60/15) -- track last 6 hours
}
}

View File

@ -76,6 +76,7 @@ generate-qrcode.ps1, generates a QR code
hibernate.ps1, enables hibernate mode for the local computer (needs admin rights)
inspect-exe.ps1, prints basic information of the given executable file
install-google-chrome.ps1, installs the Google Chrome browser
install-knot-resolver.ps1, installs the Knot Resolver (needs admin rights)
install-signal-cli.ps1, installs signal-cli from github.com/AsamK/signal-cli
install-ssh-client.ps1, installs the SSH client (needs admin rights)
install-ssh-server.ps1, installs the SSH server (needs admin rights)

1 Script Description
76 hibernate.ps1 enables hibernate mode for the local computer (needs admin rights)
77 inspect-exe.ps1 prints basic information of the given executable file
78 install-google-chrome.ps1 installs the Google Chrome browser
79 install-knot-resolver.ps1 installs the Knot Resolver (needs admin rights)
80 install-signal-cli.ps1 installs signal-cli from github.com/AsamK/signal-cli
81 install-ssh-client.ps1 installs the SSH client (needs admin rights)
82 install-ssh-server.ps1 installs the SSH server (needs admin rights)