Debian Codegraph @

etc/config/config.personal

raw
1 -- SPDX-License-Identifier: CC0-1.0
2 -- vim:syntax=lua:set ts=4 sw=4:
3 -- Refer to manual: https://www.knot-resolver.cz/documentation/latest/
4
5 -- Network interface configuration
6 net.listen('127.0.0.1', 53, { kind = 'dns' })
7 net.listen('127.0.0.1', 853, { kind = 'tls' })
8 --net.listen('127.0.0.1', 443, { kind = 'doh2' })
9 net.listen('::1', 53, { kind = 'dns', freebind = true })
10 net.listen('::1', 853, { kind = 'tls', freebind = true })
11 --net.listen('::1', 443, { kind = 'doh2' })
12
13 -- Load useful modules
14 modules = {
15 'hints > iterate', -- Allow loading /etc/hosts or custom root hints
16 'stats', -- Track internal statistics
17 'predict', -- Prefetch expiring/frequent records
18 }
19
20 -- Cache size
21 cache.size = 100 * MB