X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/37ba07b32c887726aeffa54fb6d3af8665402b25..01c56fcc5a201ed84f10f427adf13a1edf688b20:/package/dnsmasq/files/dnsmasq.conf diff --git a/package/dnsmasq/files/dnsmasq.conf b/package/dnsmasq/files/dnsmasq.conf index 43acd85b1..8a8191b63 100644 --- a/package/dnsmasq/files/dnsmasq.conf +++ b/package/dnsmasq/files/dnsmasq.conf @@ -8,19 +8,17 @@ localise-queries local=/lan/ domain=lan expand-hosts -resolv-file=/tmp/resolv.conf +resolv-file=/tmp/resolv.conf.auto @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