2024-11-03 17:43:15 +00:00
|
|
|
config dnsmasq
|
|
|
|
option domainneeded '1'
|
|
|
|
option localise_queries '1'
|
|
|
|
option rebind_protection '1'
|
|
|
|
option rebind_localhost '1'
|
|
|
|
option expandhosts '1'
|
|
|
|
option cachesize '1000'
|
|
|
|
option authoritative '1'
|
|
|
|
option readethers '1'
|
|
|
|
option leasefile '/tmp/dhcp.leases'
|
|
|
|
option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
|
|
|
|
option localservice '1'
|
|
|
|
option ednspacket_max '1232'
|
2024-11-03 21:33:24 +00:00
|
|
|
list interface 'lan'
|
2024-11-03 17:43:15 +00:00
|
|
|
|
|
|
|
config dhcp 'lan'
|
|
|
|
option interface 'lan'
|
|
|
|
option start '1'
|
|
|
|
option limit '254'
|
|
|
|
option leasetime '24h'
|
|
|
|
option dhcpv4 'server'
|
|
|
|
option dhcpv6 'server'
|
|
|
|
option ra 'server'
|
|
|
|
list ra_flags 'managed-config'
|
|
|
|
list ra_flags 'other-config'
|
|
|
|
|
|
|
|
config dhcp 'wan'
|
|
|
|
option interface 'wan'
|
|
|
|
option ignore '1'
|
|
|
|
|
|
|
|
config odhcpd 'odhcpd'
|
|
|
|
option maindhcp '0'
|
|
|
|
option leasefile '/tmp/hosts/odhcpd'
|
|
|
|
option leasetrigger '/usr/sbin/odhcpd-update'
|
|
|
|
option loglevel '4'
|