设置如下
dnsmasq默认在loopback上工作
config dnsmasq 'landomain'
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
option localservice '1'
option nonwildcard '1'
list notinterface 'loopback'
list interface 'lan'
config dhcp 'lan'
option instance 'landomain'
option interface 'lan'
option start '10'
option limit '200'
option leasetime '12h'