Bug 44751

Summary: no control section in named.conf
Product: [Retired] Red Hat Linux Reporter: av3
Component: bindconfAssignee: Harald Hoyer <harald>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-06-18 14:39:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description av3 2001-06-15 22:16:25 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)

Description of problem:
There is no control section in named.conf, that is why you need the 
killall -HUP named in /etc/init.d/named. 



How reproducible:
Always

Steps to Reproduce:
1. /etc/init.d/named reload
(or anything that uses rndc
	

Actual Results:  connection refused

Expected Results:  return value 0

Additional info:

Fix:
Put 

controls {
        inet 127.0.0.1 allow { localhost; }  keys { key_name; };
};


in /etc/named.conf

Comment 1 av3 2001-06-17 12:51:54 UTC
Also, keyname "key" does not seem to work. I changed it to 
"mykey" and then it worked...


Comment 2 Harald Hoyer 2001-07-20 16:10:33 UTC
added in bindconf-1.5-1:

controls {
        inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
 
include "/etc/rndc.key";