mirror of
https://github.com/minoplhy/DNSserver.git
synced 2024-11-24 10:16:54 +00:00
add support for plain dns
This commit is contained in:
parent
38fbc2ffe9
commit
bf839c2bb1
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user