1
0
Fork 0
forked from mirror/openwrt
openwrt/package/network/services
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
..
dnsmasq dnsmasq: allow using dnsmasq as the sole resolver 2019-02-24 01:55:47 +00:00
dropbear dropbear: fix dropbear startup issue 2018-12-21 10:08:12 +01:00
ead network/services/ead: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
hostapd hostapd: expose device taxonomy signature via ubus 2018-12-18 17:22:04 +01:00
igmpproxy igmpproxy: drop SSDP packets 2018-12-18 10:16:16 +01:00
ipset-dns ipset-dns: bump to git HEAD 2017-10-08 20:51:03 +03:00
lldpd lldpd: inhibit linking of libbsd on !GLIBC 2018-12-18 11:28:13 +01:00
odhcpd odhcpd: fix onlink IA check (FS#2060) 2019-01-16 22:52:46 +01:00
omcproxy omcproxy: silence fw3 warnings 2018-01-10 21:38:55 +01:00
openvpn openvpn: increase procd termination timeout to 15s 2018-12-18 09:47:39 +01:00
openvpn-easy-rsa openvpn-easy-rsa: update to 3.0.4 2018-12-18 10:27:37 +01:00
ppp ppp: remove hardcoded lcp-echo-failure, lcp-echo-interval values 2018-12-18 11:28:12 +01:00
relayd treewide: replace LEDE_GIT with PROJECT_GIT 2018-01-10 21:27:32 +01:00
samba36 samba36: Enable umdnsd support 2018-12-18 11:28:11 +01:00
uhttpd uhttpd: disable concurrent requests by default 2019-01-30 10:13:30 +01:00
umdns treewide: replace LEDE_GIT with PROJECT_GIT 2018-01-10 21:27:32 +01:00
wireguard wireguard: bump to 0.0.20190123 2019-01-30 10:55:22 +01:00