mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 20:09:55 +02:00
package/dnsmasq: add support for bogus-nxdomain (thanks to Mickey Knox), bump release number
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22592 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7425e48f8c
commit
b66f4d463b
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=dnsmasq
|
PKG_NAME:=dnsmasq
|
||||||
PKG_VERSION:=2.55
|
PKG_VERSION:=2.55
|
||||||
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
|
||||||
|
@ -18,6 +18,7 @@ config dnsmasq
|
|||||||
#option nonwildcard 1
|
#option nonwildcard 1
|
||||||
#list interface br-lan
|
#list interface br-lan
|
||||||
#list notinterface lo
|
#list notinterface lo
|
||||||
|
#list bogusnxdomain '64.94.110.11'
|
||||||
|
|
||||||
config dhcp lan
|
config dhcp lan
|
||||||
option interface lan
|
option interface lan
|
||||||
|
@ -55,6 +55,10 @@ append_addnhosts() {
|
|||||||
append args "-H $1"
|
append args "-H $1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
append_bogusnxdomain() {
|
||||||
|
append args "-B $1"
|
||||||
|
}
|
||||||
|
|
||||||
dnsmasq() {
|
dnsmasq() {
|
||||||
local cfg="$1"
|
local cfg="$1"
|
||||||
append_bool "$cfg" authoritative "-K"
|
append_bool "$cfg" authoritative "-K"
|
||||||
@ -86,6 +90,7 @@ dnsmasq() {
|
|||||||
config_list_foreach "$cfg" "interface" append_interface
|
config_list_foreach "$cfg" "interface" append_interface
|
||||||
config_list_foreach "$cfg" "notinterface" append_notinterface
|
config_list_foreach "$cfg" "notinterface" append_notinterface
|
||||||
config_list_foreach "$cfg" "addnhosts" append_addnhosts
|
config_list_foreach "$cfg" "addnhosts" append_addnhosts
|
||||||
|
config_list_foreach "$cfg" "bogusnxdomain" append_bogusnxdomain
|
||||||
append_parm "$cfg" "leasefile" "-l"
|
append_parm "$cfg" "leasefile" "-l"
|
||||||
append_parm "$cfg" "resolvfile" "-r"
|
append_parm "$cfg" "resolvfile" "-r"
|
||||||
append_parm "$cfg" "tftp_root" "--tftp-root"
|
append_parm "$cfg" "tftp_root" "--tftp-root"
|
||||||
|
Loading…
Reference in New Issue
Block a user