openwrt/package
Yousong Zhou 87fb8aea87 dnsmasq: allow using dnsmasq as the sole resolver
Currently it seems impossible to configure /etc/config/dhcp to achieve
the following use case

 - run dnsmasq with no-resolv
 - re-generate /etc/resolv.conf with "nameserver 127.0.0.1"

Before this change, we have to set resolvfile to /tmp/resolv.conf.auto
to achive the 2nd effect above, but setting resolvfile requires noresolv
being false.

A new boolean option "localuse" is added to indicate that we intend to
use dnsmasq as the local dns resolver.  It's false by default and to
align with old behaviour it will be true automatically if resolvfile is
set to /tmp/resolv.conf.auto

(cherry picked from 2aea1ada65f050d74a064e74466bbe4e8d)
Tested-by: Paul Oranje <por@oranjevos.nl>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Acked-by: Hans Dedecker <dedeckeh@gmail.com>
Acked-by: Paul Oranje <por@oranjevos.nl>
2019-02-24 01:55:47 +00:00
..
base-files OpenWrt v18.06.2: revert to branch defaults 2019-01-30 13:34:55 +01:00
boot uboot-fritz4040: fix crash caused by interaction with gcc 7.1+ 2019-01-26 19:40:23 +01:00
devel strace: Update to 4.22 2018-12-18 17:22:08 +01:00
firmware ath10k: update QCA4019 firmware 2018-12-27 16:38:13 +01:00
kernel mt76: update to the latest version 2019-02-13 15:52:21 +01:00
libs openssl: bump to 1.0.2q 2019-01-30 12:00:46 +01:00
network dnsmasq: allow using dnsmasq as the sole resolver 2019-02-24 01:55:47 +00:00
system opkg: update to latest Git head 2019-01-22 13:14:33 +01:00
utils ugps: update to latest git HEAD 2018-12-18 17:22:06 +01:00
Makefile imagebuilder: reuse rootfs preparation from rootfs.mk 2018-03-07 09:59:08 +01:00