Root/package/dnsmasq/files/dhcp.conf

1config 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.auto'
17    #list server '/mycompany.local/1.2.3.4'
18    #option nonwildcard 1
19    #list interface br-lan
20    #list notinterface lo
21    #list bogusnxdomain '64.94.110.11'
22
23config dhcp lan
24    option interface lan
25    option start 100
26    option limit 150
27    option leasetime 12h
28
29config dhcp wan
30    option interface wan
31    option ignore 1
32

Archive Download this file



interactive