]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bind: fix conf.patch to remove configuration that causes failure ChenQi/bind-configuration
authorChen Qi <Qi.Chen@windriver.com>
Tue, 2 Dec 2014 05:55:09 +0000 (13:55 +0800)
committerChen Qi <Qi.Chen@windriver.com>
Tue, 2 Dec 2014 05:59:12 +0000 (13:59 +0800)
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>
meta/recipes-connectivity/bind/bind/conf.patch

index 2785c6a22f3c9211c0b9fa43ba876a6942d756e2..7bab07282a9f966c9adfa46f14f1fa2c6f6bda05 100644 (file)
@@ -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; };
 +