set dhcp lease file in dnsmasq.conf instead of /tmp/dhcp.leases
[openwrt-10.03/.git] / package / dnsmasq / files / dnsmasq.conf
index c770d53ddeee0590b9571a6c53ad3b589a1660fd..d4a9f082ca4635a25d9c4122a7956e72fea615a6 100644 (file)
@@ -7,14 +7,15 @@ localise-queries
 # allow /etc/hosts and dhcp lookups via *.lan
 local=/lan/
 domain=lan
+expand-hosts
 
 # enable dhcp (start,end,netmask,leasetime)
 dhcp-authoritative
 #dhcp-range=192.168.1.100,192.168.1.250,255.255.255.0,12h
-#dhcp-leasefile=/tmp/dhcp.leases
+dhcp-leasefile=/tmp/dhcp.leases
 
 # use /etc/ethers for static hosts; same format as --dhcp-host
-# <hwaddr> [<hostname>] <ipaddr>
+# <hwaddr> <ipaddr>
 read-ethers
 
 # other useful options: