Report information
The Basics
Id:
44852
Status:
new
Priority:
Medium/Medium
Queue:

People
Owner:
Nobody in particular
Cc:
AdminCc:

BugTracker
Version Fixed:
(no value)
Version Found:
(no value)
Versions Affected:
9.11.0-P3
Versions Planned:
(no value)
Priority:
P2 Normal
Severity:
S2 Normal
CVSS Score:
(no value)
CVE ID:
(no value)
Component:
BIND Utilities
Area:
bug

Dates
Created:Fri, 10 Mar 2017 10:15:53 -0500
Updated:Mon, 10 Jul 2017 14:40:11 -0400
Closed:Not set



This bug tracker is no longer active.

Please go to our Gitlab to submit issues (both feature requests and bug reports) for active projects maintained by Internet Systems Consortium (ISC).

Due to security and confidentiality requirements, full access is limited to the primary maintainers.

Subject: BIND 9.11.0-P3 - named-checkconf (and rndc reload also) still returns 0 errors about loading zone files is detected
Date: Fri, 10 Mar 2017 15:15:49 +0000
To: bind-bugs@isc.org
From: "Xianrui Chen" <chenxianrui@outlook.com>
Bug Report from www.isc.org: Name: Xianrui Chen Email: chenxianrui@outlook.com Software Version: BIND 9.11.0-P3 OS: Debian 8.1 Subject:named-checkconf (and rndc reload also) still returns 0 errors about loading zone files is detected Bug Detail =========== I used named-checkconf '-z' options to perform test of master zones. But I found that if the last master zone with no error detected, it would return 0, even if the former zone is reported with errors. Also, rndc reload does not detected such error. Below is a example. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # /usr/local/bind9/sbin/named-checkconf -z -t /home/named/ /etc/bind/named.conf zone example.com/IN: loaded serial 20170310 zone example.com/IN: loaded serial 20170310 # echo $? 0 # vim /etc/bind/zones.conf # /usr/local/bind9/sbin/named-checkconf -z -t /home/named/ /etc/bind/named.conf zone example.com/IN: loading from master file zonefile/not-exist-example.com-Asia failed: file not found zone example.com/IN: not loaded due to errors. Asia/example.com/IN: file not found zone example.com/IN: loaded serial 20170310 # echo $? 0 # vim /etc/bind/zones.conf # /usr/local/bind9/sbin/named-checkconf -z -t /home/named/ /etc/bind/named.conf zone example.com/IN: loaded serial 20170310 zone example.com/IN: loading from master file zonefile/not-exist-example.com-Default failed: file not found zone example.com/IN: not loaded due to errors. Default/example.com/IN: file not found # echo $? 1 # /usr/local/bind9/sbin/rndc -k /etc/bind/rndc.key reload server reload successful # /usr/local/bind9/sbin/named-checkconf -z -t /home/named/ /etc/bind/named.conf zone example.com/IN: loaded serial 20170310 zone example.com/IN: loading from master file zonefile/not-exist-example.com-Default failed: file not found zone example.com/IN: not loaded due to errors. Default/example.com/IN: file not found ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ I compiled bind 9.11.0 manually. And the configure options are: --with-openssl=yes --enable-static --enable-threads --enable-querytrace I'm willing to provide more information if's needed. Looking forward to your reply. Thanks. --- This email was received through isc.org Bug Submission Form