summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-12-02 13:55:09 +0800
committerChen Qi <Qi.Chen@windriver.com>2014-12-02 13:59:12 +0800
commit2d5ed9ff99319e5eb332b5008b39ee8d6e381dd1 (patch)
tree85abd1b571efb8522c77460a9b1312c2b5d779b3
parent68ddb28a68ceb59cd1ed322c16143827ce1ac712 (diff)
downloadopenembedded-core-contrib-ChenQi/bind-configuration.tar.gz
openembedded-core-contrib-ChenQi/bind-configuration.tar.bz2
openembedded-core-contrib-ChenQi/bind-configuration.zip
bind: fix conf.patch to remove configuration that causes failureChenQi/bind-configuration
conf.patch added db.255 confgiuration entry to named.conf. However, We don't have db.255 configuration file, so remove this entry to avoid the following failure. zone 255.in-addr.arpa/IN: loading from master file /etc/bind/db.255 failed: file not found Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
-rw-r--r--meta/recipes-connectivity/bind/bind/conf.patch7
1 files changed, 1 insertions, 6 deletions
diff --git a/meta/recipes-connectivity/bind/bind/conf.patch b/meta/recipes-connectivity/bind/bind/conf.patch
index 2785c6a22f..7bab07282a 100644
--- a/meta/recipes-connectivity/bind/bind/conf.patch
+++ b/meta/recipes-connectivity/bind/bind/conf.patch
@@ -124,7 +124,7 @@ diff -urN bind-9.3.1.orig/conf/db.root bind-9.3.1/conf/db.root
diff -urN bind-9.3.1.orig/conf/named.conf bind-9.3.1/conf/named.conf
--- bind-9.3.1.orig/conf/named.conf 1970-01-01 01:00:00.000000000 +0100
+++ bind-9.3.1/conf/named.conf 2005-07-10 22:33:46.000000000 +0200
-@@ -0,0 +1,49 @@
+@@ -0,0 +1,44 @@
+// This is the primary configuration file for the BIND DNS server named.
+//
+// If you are just adding zones, please do that in /etc/bind/named.conf.local
@@ -155,11 +155,6 @@ diff -urN bind-9.3.1.orig/conf/named.conf bind-9.3.1/conf/named.conf
+ file "/etc/bind/db.0";
+};
+
-+zone "255.in-addr.arpa" {
-+ type master;
-+ file "/etc/bind/db.255";
-+};
-+
+// zone "com" { type delegation-only; };
+// zone "net" { type delegation-only; };
+