add support for plain dns

This commit is contained in:
Minoplhy 2021-08-15 16:28:49 +07:00 committed by GitHub
parent 38fbc2ffe9
commit bf839c2bb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,8 @@ verbose(true)
-- Network interface configuration -- Network interface configuration
net.listen('127.0.0.1', 5353, { kind = 'dns' }) net.listen('127.0.0.1', 5353, { kind = 'dns' })
net.listen('::1', 5353, { kind = 'dns', freebind = true }) net.listen('::1', 5353, { kind = 'dns', freebind = true })
net.listen('0.0.0.0', 53, { kind = 'dns' })
net.listen('::', 53, { kind = 'dns', freebind = true })
-- Load useful modules -- Load useful modules
modules = { modules = {