Bug 44751 - no control section in named.conf
Summary: no control section in named.conf
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: bindconf
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-06-15 22:16 UTC by av3
Modified: 2007-04-18 16:33 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-06-18 14:39:59 UTC
Embargoed:


Attachments (Terms of Use)

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";



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