13 lines
480 B
Plaintext
13 lines
480 B
Plaintext
-- Network interface configuration
|
|
net.listen('127.0.0.1', 53, { kind = 'dns' })
|
|
net.listen('127.0.0.1', 853, { kind = 'tls' })
|
|
net.listen('::', 53, { kind = 'dns', freebind = true })
|
|
net.listen('::1', 853, { kind = 'tls', freebind = true })
|
|
|
|
-- Load useful modules
|
|
modules = {
|
|
'hints > iterate', -- Allow loading /etc/hosts or custom root hints
|
|
'stats', -- Track internal statistics
|
|
'predict', -- Prefetch expiring/frequent records
|
|
}
|