set dhcp lease file in dnsmasq.conf instead of /tmp/dhcp.leases
[openwrt/svn-archive/archive.git] / openwrt / package / dnsmasq / files / dnsmasq.conf
1 # filter what we send upstream
2 domain-needed
3 bogus-priv
4 filterwin2k
5 localise-queries
6
7 # allow /etc/hosts and dhcp lookups via *.lan
8 local=/lan/
9 domain=lan
10 expand-hosts
11
12 # enable dhcp (start,end,netmask,leasetime)
13 dhcp-authoritative
14 #dhcp-range=192.168.1.100,192.168.1.250,255.255.255.0,12h
15 dhcp-leasefile=/tmp/dhcp.leases
16
17 # use /etc/ethers for static hosts; same format as --dhcp-host
18 # <hwaddr> <ipaddr>
19 read-ethers
20
21 # other useful options:
22 # default route(s): dhcp-option=3,192.168.1.1,192.168.1.2
23 # dns server(s): dhcp-option=6,192.168.1.1,192.168.1.2