mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-03-02 19:49:41 +00:00
dnsmasq: support and use local-service by default (#14951)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 43982
This commit is contained in:
parent
71c8ec020d
commit
59cab6dd48
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006-2014 OpenWrt.org
|
# Copyright (C) 2006-2015 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=dnsmasq
|
PKG_NAME:=dnsmasq
|
||||||
PKG_VERSION:=2.72
|
PKG_VERSION:=2.72
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq
|
PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq
|
||||||
|
@ -19,6 +19,7 @@ config dnsmasq
|
|||||||
#list interface br-lan
|
#list interface br-lan
|
||||||
#list notinterface lo
|
#list notinterface lo
|
||||||
#list bogusnxdomain '64.94.110.11'
|
#list bogusnxdomain '64.94.110.11'
|
||||||
|
option localservice 1 # disable to allow DNS requests from non-loclal subnets
|
||||||
|
|
||||||
config dhcp lan
|
config dhcp lan
|
||||||
option interface lan
|
option interface lan
|
||||||
|
@ -127,6 +127,7 @@ dnsmasq() {
|
|||||||
append_bool "$cfg" nonwildcard "--bind-interfaces"
|
append_bool "$cfg" nonwildcard "--bind-interfaces"
|
||||||
append_bool "$cfg" fqdn "--dhcp-fqdn"
|
append_bool "$cfg" fqdn "--dhcp-fqdn"
|
||||||
append_bool "$cfg" proxydnssec "--proxy-dnssec"
|
append_bool "$cfg" proxydnssec "--proxy-dnssec"
|
||||||
|
append_bool "$cfg" localservice "--local-service"
|
||||||
|
|
||||||
append_parm "$cfg" dhcpscript "--dhcp-script"
|
append_parm "$cfg" dhcpscript "--dhcp-script"
|
||||||
append_parm "$cfg" cachesize "--cache-size"
|
append_parm "$cfg" cachesize "--cache-size"
|
||||||
|
Loading…
Reference in New Issue
Block a user