2007-10-24 21:08:54 +00:00
|
|
|
config dnsmasq
|
|
|
|
option domainneeded 1
|
|
|
|
option boguspriv 1
|
2010-07-16 00:06:59 +00:00
|
|
|
option filterwin2k 0 # enable for dial on demand
|
2007-10-24 21:08:54 +00:00
|
|
|
option localise_queries 1
|
2010-07-16 00:06:59 +00:00
|
|
|
option rebind_protection 1 # disable if upstream must serve RFC1918 addresses
|
2010-10-06 13:10:15 +00:00
|
|
|
option rebind_localhost 1 # enable for RBL checking and similar services
|
2010-07-16 00:06:59 +00:00
|
|
|
#list rebind_domain example.lan # whitelist RFC1918 responses for domains
|
2007-10-24 21:08:54 +00:00
|
|
|
option local '/lan/'
|
|
|
|
option domain 'lan'
|
|
|
|
option expandhosts 1
|
|
|
|
option nonegcache 0
|
2022-11-27 20:27:06 +00:00
|
|
|
option cachesize 1000
|
2007-10-24 21:08:54 +00:00
|
|
|
option authoritative 1
|
|
|
|
option readethers 1
|
|
|
|
option leasefile '/tmp/dhcp.leases'
|
2020-01-03 11:39:06 +00:00
|
|
|
option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
|
2009-01-27 22:58:11 +00:00
|
|
|
#list server '/mycompany.local/1.2.3.4'
|
2017-02-24 10:08:30 +00:00
|
|
|
option nonwildcard 1 # bind to & keep track of interfaces
|
2009-05-05 09:33:56 +00:00
|
|
|
#list interface br-lan
|
2009-09-16 18:15:31 +00:00
|
|
|
#list notinterface lo
|
2010-08-11 10:37:33 +00:00
|
|
|
#list bogusnxdomain '64.94.110.11'
|
2015-06-08 04:48:08 +00:00
|
|
|
option localservice 1 # disable to allow DNS requests from non-local subnets
|
2020-11-09 14:58:39 +00:00
|
|
|
option ednspacket_max 1232
|
2022-11-07 08:20:15 +00:00
|
|
|
option filter_aaaa 0
|
|
|
|
option filter_a 0
|
2022-11-27 12:33:31 +00:00
|
|
|
#list addnmount /some/path # read-only mount path to expose it to dnsmasq
|
2007-10-24 21:08:54 +00:00
|
|
|
|
2008-08-19 22:05:41 +00:00
|
|
|
config dhcp lan
|
2007-03-17 13:31:13 +00:00
|
|
|
option interface lan
|
|
|
|
option start 100
|
2007-08-19 20:50:52 +00:00
|
|
|
option limit 150
|
2007-03-17 13:31:13 +00:00
|
|
|
option leasetime 12h
|
|
|
|
|
2008-08-19 22:05:41 +00:00
|
|
|
config dhcp wan
|
2007-03-17 13:31:13 +00:00
|
|
|
option interface wan
|
|
|
|
option ignore 1
|