Bug 50349 - bind does not report zone syntax errors
Summary: bind does not report zone syntax errors
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: bind   
(Show other bugs)
Version: 7.1
Hardware: i386 Linux
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2001-07-30 18:01 UTC by Karl schmidt
Modified: 2007-04-18 16:35 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-08-01 19:05:32 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Karl schmidt 2001-07-30 18:01:06 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)

Description of problem:
Named would work but was flakey timing out and sending out temporary 
blocks to incoming mail some of the time. Checking the logs revealed 
nothing, so I turned on some debug logging in named.conf but it wouldn't 
make the new log file, yet ran without any error to the main log. 

After checking countless things I found that bind 9 comes with a "bind-
checkzone" utility. Turns out some zone from a friends site had syntax 
problems. This would have been reported in bind 8). The format of bind-9 
zone files has changed slightly and the old bind-8 format was causing an 
un-logged problem. (why doesn't named run "bind-checkzone" when  

Once the zones were fixed, everything worked - bind started making the log 
files that would have pointed out the problem. If you upgrade to bind 9, 
you need to be aware of "bind-checkzone" and run it manually. 

I believe that 9.1.3 has a long list of bug fixes

How reproducible:

Steps to Reproduce:
1.Start with a zone file that has syntax problems

Actual Results:   Intermittent time outs in bind.
Logging would not create log file 

Expected Results:  Syntax errors would be reported on start up to main 

Additional info:

Turning debugging logging on did not help - as bind would not create log 

this is the log setup I used:

	exim-mta logging {
        channel "my_syslog"{
                syslog daemon;
		severity warning;
                print-category yes;
                print-severity yes;
                print-time yes;
	channel "bind_log"{
		file "/var/log/named.log";
		severity debug 1;
		print-category yes;
        	print-severity yes;
        	print-time yes;
	category "default" { bind_log; };
	category "notify" { bind_log; };		
	category "general" { bind_log; my_syslog; };		
	category "resolver" { bind_log; };		
	category "security" { bind_log; };		
	category "update" { bind_log; };		
	category "lame-servers" { bind_log; };	

I'm rating this as a High severity because many upgrading from bind 8 will 
not find the problem.

Note You need to log in before you can comment on or make changes to this bug.