diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-16 19:04:19 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-16 19:04:19 +0000 |
commit | 59cab6dd4820243e4828bed5dcd120fe05310725 (patch) | |
tree | c6acb1eca55293bc62b99c0279c1679ef80b31bb /package/network/services/dnsmasq/files | |
parent | 71c8ec020dba204f96e4d680c2ea91f23e5588f3 (diff) | |
download | upstream-59cab6dd4820243e4828bed5dcd120fe05310725.tar.gz upstream-59cab6dd4820243e4828bed5dcd120fe05310725.tar.bz2 upstream-59cab6dd4820243e4828bed5dcd120fe05310725.zip |
dnsmasq: support and use local-service by default (#14951)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 43982
Diffstat (limited to 'package/network/services/dnsmasq/files')
-rw-r--r-- | package/network/services/dnsmasq/files/dhcp.conf | 1 | ||||
-rw-r--r-- | package/network/services/dnsmasq/files/dnsmasq.init | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/package/network/services/dnsmasq/files/dhcp.conf b/package/network/services/dnsmasq/files/dhcp.conf index 660b06ad4f..a6e7867ca7 100644 --- a/package/network/services/dnsmasq/files/dhcp.conf +++ b/package/network/services/dnsmasq/files/dhcp.conf @@ -19,6 +19,7 @@ config dnsmasq #list interface br-lan #list notinterface lo #list bogusnxdomain '64.94.110.11' + option localservice 1 # disable to allow DNS requests from non-loclal subnets config dhcp lan option interface lan diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index 209952b5e6..cb78e831d3 100644 --- a/package/network/services/dnsmasq/files/dnsmasq.init +++ b/package/network/services/dnsmasq/files/dnsmasq.init @@ -127,6 +127,7 @@ dnsmasq() { append_bool "$cfg" nonwildcard "--bind-interfaces" append_bool "$cfg" fqdn "--dhcp-fqdn" append_bool "$cfg" proxydnssec "--proxy-dnssec" + append_bool "$cfg" localservice "--local-service" append_parm "$cfg" dhcpscript "--dhcp-script" append_parm "$cfg" cachesize "--cache-size" |