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
|
|
|
|
option rebind_localhost 0 # enable for RBL checking and similar services
|
|
|
|
#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
|
|
|
|
option authoritative 1
|
|
|
|
option readethers 1
|
|
|
|
option leasefile '/tmp/dhcp.leases'
|
|
|
|
option resolvfile '/tmp/resolv.conf.auto'
|
2009-01-27 22:58:11 +00:00
|
|
|
#list server '/mycompany.local/1.2.3.4'
|
2009-09-16 18:15:31 +00:00
|
|
|
#option nonwildcard 1
|
2009-05-05 09:33:56 +00:00
|
|
|
#list interface br-lan
|
2009-09-16 18:15:31 +00:00
|
|
|
#list notinterface lo
|
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
|