1bind: make "/etc/init.d/bind stop" work 2 3Upstream-Status: Inappropriate [configuration] 4 5Add some configurations, make rndc command be able to controls 6the named daemon. 7 8Signed-off-by: Roy Li <rongqing.li@windriver.com> 9--- 10 conf/named.conf | 5 +++++ 11 conf/rndc.conf | 5 +++++ 12 2 files changed, 10 insertions(+), 0 deletions(-) 13 create mode 100644 conf/rndc.conf 14 15diff --git a/conf/named.conf b/conf/named.conf 16index 95829cf..c8899e7 100644 17--- a/conf/named.conf 18+++ b/conf/named.conf 19@@ -47,3 +47,8 @@ zone "255.in-addr.arpa" { 20 // root-delegation-only exclude { "DE"; "MUSEUM"; }; 21 22 include "/etc/bind/named.conf.local"; 23+include "/etc/bind/rndc.key" ; 24+controls { 25+ inet 127.0.0.1 allow { localhost; } 26+ keys { rndc-key; }; 27+}; 28diff --git a/conf/rndc.conf b/conf/rndc.conf 29new file mode 100644 30index 0000000..a0b481d 31--- /dev/null 32+++ b/conf/rndc.conf 33@@ -0,0 +1,5 @@ 34+include "/etc/bind/rndc.key"; 35+options { 36+ default-server localhost; 37+ default-key rndc-key; 38+}; 39 40-- 411.7.5.4 42 43