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