2007-10-25 00:08:54 +03:00
|
|
|
config dnsmasq
|
|
|
|
option domainneeded 1
|
|
|
|
option boguspriv 1
|
2010-07-16 03:06:59 +03:00
|
|
|
option filterwin2k 0 # enable for dial on demand
|
2007-10-25 00:08:54 +03:00
|
|
|
option localise_queries 1
|
2010-07-16 03:06:59 +03: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-25 00:08:54 +03: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-28 00:58:11 +02:00
|
|
|
#list server '/mycompany.local/1.2.3.4'
|
2009-09-16 21:15:31 +03:00
|
|
|
#option nonwildcard 1
|
2009-05-05 12:33:56 +03:00
|
|
|
#list interface br-lan
|
2009-09-16 21:15:31 +03:00
|
|
|
#list notinterface lo
|
2007-10-25 00:08:54 +03:00
|
|
|
|
2008-08-20 01:05:41 +03:00
|
|
|
config dhcp lan
|
2007-03-17 15:31:13 +02:00
|
|
|
option interface lan
|
|
|
|
option start 100
|
2007-08-19 23:50:52 +03:00
|
|
|
option limit 150
|
2007-03-17 15:31:13 +02:00
|
|
|
option leasetime 12h
|
|
|
|
|
2008-08-20 01:05:41 +03:00
|
|
|
config dhcp wan
|
2007-03-17 15:31:13 +02:00
|
|
|
option interface wan
|
|
|
|
option ignore 1
|