X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/676c017ecfced2e37aeec176f8aa6b9df90024f3..bee2d53f8d141b439c41c320f6827f34cb718e4b:/package/dnsmasq/files/dnsmasq.conf diff --git a/package/dnsmasq/files/dnsmasq.conf b/package/dnsmasq/files/dnsmasq.conf index 7aed3a3da..8a51f8445 100644 --- a/package/dnsmasq/files/dnsmasq.conf +++ b/package/dnsmasq/files/dnsmasq.conf @@ -8,18 +8,17 @@ localise-queries local=/lan/ domain=lan expand-hosts +resolv-file=/tmp/resolv.conf @ifdef dhcp_enable dhcp-range=@@start@@,@@end@@,@@netmask@@,@@lease@@ +dhcp-authoritative +dhcp-leasefile=/tmp/dhcp.leases @endif @ifdef wan_ifname except-interface=@@wan_ifname@@ @endif -# enable dhcp (start,end,netmask,leasetime) -dhcp-authoritative -dhcp-leasefile=/tmp/dhcp.leases - # use /etc/ethers for static hosts; same format as --dhcp-host # read-ethers