mirror of
https://github.com/openwrt/routing.git
synced 2025-12-21 21:24:32 +04:00
hnetd: Bump + removed rebind_protection disabling (as latest hnetd provides correct rebind-domain-ok option to dnsmasq dynamically).
This commit is contained in:
@@ -7,8 +7,8 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=hnetd
|
PKG_NAME:=hnetd
|
||||||
PKG_SOURCE_VERSION:=345fb74504249cee5d02b2349ccaaef118523118
|
PKG_SOURCE_VERSION:=c0b0c31b8fa4fbe47208e49685ccc9976532738a
|
||||||
PKG_VERSION:=2015-08-21-$(PKG_SOURCE_VERSION)
|
PKG_VERSION:=2015-09-08-$(PKG_SOURCE_VERSION)
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
|
|||||||
@@ -2,13 +2,11 @@
|
|||||||
|
|
||||||
# Why we tune dnsmasq?
|
# Why we tune dnsmasq?
|
||||||
# localservice=0 => other hnetd instances can query for local names
|
# localservice=0 => other hnetd instances can query for local names
|
||||||
# rebind_protection=0 => accept RFC1918 names from the other hnetd instances
|
|
||||||
# boguspriv=0 => allow reverse resolution of RFC1918 w/o local hosts entries
|
# boguspriv=0 => allow reverse resolution of RFC1918 w/o local hosts entries
|
||||||
|
|
||||||
uci batch <<EOF
|
uci batch <<EOF
|
||||||
set dhcp.odhcpd.maindhcp=1
|
set dhcp.odhcpd.maindhcp=1
|
||||||
set dhcp.@dnsmasq[0].localservice=0
|
set dhcp.@dnsmasq[0].localservice=0
|
||||||
set dhcp.@dnsmasq[0].rebind_protection=0
|
|
||||||
set dhcp.@dnsmasq[0].boguspriv=0
|
set dhcp.@dnsmasq[0].boguspriv=0
|
||||||
commit dhcp
|
commit dhcp
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
Reference in New Issue
Block a user