8c42ef782e3b8f6f1a6393417a288be29d8428ad
[openwrt/openwrt.git] / package / network / services / dnsmasq / files / dhcp.conf
1 config dnsmasq
2 option domainneeded 1
3 option boguspriv 1
4 option filterwin2k 0 # enable for dial on demand
5 option localise_queries 1
6 option rebind_protection 1 # disable if upstream must serve RFC1918 addresses
7 option rebind_localhost 1 # enable for RBL checking and similar services
8 #list rebind_domain example.lan # whitelist RFC1918 responses for domains
9 option local '/lan/'
10 option domain 'lan'
11 option expandhosts 1
12 option nonegcache 0
13 option authoritative 1
14 option readethers 1
15 option leasefile '/tmp/dhcp.leases'
16 option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
17 #list server '/mycompany.local/1.2.3.4'
18 option nonwildcard 1 # bind to & keep track of interfaces
19 #list interface br-lan
20 #list notinterface lo
21 #list bogusnxdomain '64.94.110.11'
22 option localservice 1 # disable to allow DNS requests from non-local subnets
23 option ednspacket_max 1232
24
25 config dhcp lan
26 option interface lan
27 option start 100
28 option limit 150
29 option leasetime 12h
30
31 config dhcp wan
32 option interface wan
33 option ignore 1