#1 (permalink)  
Old 11-07-2009, 01:49 PM
Registered User
 
Join Date: Dec 2003
Posts: 40
Dmitry M.
Get Rid of `chroot` named (DNSonly)

Hi,

Is there any way to get rid of new named chroot system?
I mean I want to make all scripts (/etc/init.d/named, check-conf etc.) start named without key '-t /var/named/chroot'

I run my own DNS cluster based on cpanel DNS only servers, my new DNS server (chroot setup) uses almost 2 times more RAM comparing to another 2 my DNS servers that uses older DNSonly setup (without chroot securing).

New server is bind 9.3.6, old servers bind 9.3.2

I do not use cpanel DNS synchronization because it doesn't work with 200k+ DNS zones, that is why chroot breaks my scripts also, but it isn't the real problem. The main problem is the memory.

Please advise.
__________________
http://myIdealHost.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 11-07-2009, 03:24 PM
Registered User
 
Join Date: Mar 2003
Posts: 185
xerophyte
rpm -qa | grep -i bind

if you see chroot bind in there, just remove it

hope that helps
__________________
http://www.linuxnetworkcare.com/services/cpanel.php
Affordable Linux Server Managament Solution
Order : https://secure.linuxnetworkcare.com
Contact :[ Phone: 647-722-5303 MSN : xerophyte5@hotmail.com AIM : xerophytev]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-07-2009, 03:27 PM
Registered User
 
Join Date: Dec 2003
Posts: 40
Dmitry M.
Its standard DNSonly setup, no manual updates

# rpm -qa | grep -i bind
bind-devel-9.3.6-4.P1.el5
bind-libs-9.3.6-4.P1.el5
ypbind-1.19-12.el5
bind-utils-9.3.6-4.P1.el5
bind-devel-9.3.6-4.P1.el5
bind-9.3.6-4.P1.el5
bind-libs-9.3.6-4.P1.el5
__________________
http://myIdealHost.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-07-2009, 03:39 PM
Registered User
 
Join Date: Mar 2003
Posts: 185
xerophyte
hmmm try commenting out

cat /etc/sysconfig/named

ROOTDIR=/var/named/chroot

and /etc/init.d/named restart
__________________
http://www.linuxnetworkcare.com/services/cpanel.php
Affordable Linux Server Managament Solution
Order : https://secure.linuxnetworkcare.com
Contact :[ Phone: 647-722-5303 MSN : xerophyte5@hotmail.com AIM : xerophytev]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 11-07-2009, 04:03 PM
Registered User
 
Join Date: Dec 2003
Posts: 40
Dmitry M.
nice call!!!!

ty a lot, it works like a charm.
__________________
http://myIdealHost.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
named chroot cygus cPanel Newbies 2 08-01-2007 03:55 AM
named/views/chroot valkira cPanel and WHM Discussions 0 07-17-2007 10:52 AM
Why can't I get rid of named? Walker cPanel and WHM Discussions 2 02-02-2007 11:09 AM
no chroot on named katmai cPanel and WHM Discussions 0 10-27-2006 02:34 PM
/var/named/chroot/etc/named.conf rewriting _sr_ cPanel and WHM Discussions 0 03-09-2006 02:23 AM


All times are GMT -5. The time now is 03:51 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc