mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-08 20:54:38 +02:00
Add install-knot-resolver.ps1
This commit is contained in:
27
Data/default.kresd.conf
Normal file
27
Data/default.kresd.conf
Normal 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
|
||||
}
|
||||
}
|
@ -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)
|
||||
|
|
Reference in New Issue
Block a user