summaryrefslogtreecommitdiff
path: root/package/bind
diff options
context:
space:
mode:
Diffstat (limited to 'package/bind')
-rw-r--r--package/bind/Makefile4
-rw-r--r--package/bind/files/named.init3
2 files changed, 5 insertions, 2 deletions
diff --git a/package/bind/Makefile b/package/bind/Makefile
index 9bcc8b00d..32eb0bbef 100644
--- a/package/bind/Makefile
+++ b/package/bind/Makefile
@@ -4,9 +4,9 @@
include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= bind
-PKG_VERSION:= 9.18.28
+PKG_VERSION:= 9.18.33
PKG_RELEASE:= 1
-PKG_HASH:= e7cce9a165f7b619eefc4832f0a8dc16b005d29e3890aed6008c506ea286a5e7
+PKG_HASH:= fb373fac5ebbc41c645160afd5a9fb451918f6c0e69ab1d9474154e2b515de40
PKG_DESCR:= dns server
PKG_SECTION:= net/dns
PKG_DEPENDS:= libxml2 libopenssl libuv openssl-util
diff --git a/package/bind/files/named.init b/package/bind/files/named.init
index 2bc4b952d..ede96cabe 100644
--- a/package/bind/files/named.init
+++ b/package/bind/files/named.init
@@ -11,6 +11,9 @@ autostop) ;;
exec sh $0 start
;;
start)
+ if [ ! -f /etc/rndc.key ]; then
+ rndc-confgen -a 2>/dev/null
+ fi
if [ -f /etc/bind/named.conf ]; then
/usr/sbin/named -c /etc/bind/named.conf &
fi