Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Dec 2003
    Posts
    40

    Default 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

  2. #2
    Member
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    217

    Default

    rpm -qa | grep -i bind

    if you see chroot bind in there, just remove it

    hope that helps
    Affordable Linux Server Managament Solution
    http://www.linuxnetworkcare.com/services/cpanel.php
    [ Phone: 647-722-5303 MSN : sutha@linuxnetworkcare.com AIM : xerophytev skype:ksutha5]

  3. #3
    Member
    Join Date
    Dec 2003
    Posts
    40

    Default

    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

  4. #4
    Member
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    217

    Default

    hmmm try commenting out

    cat /etc/sysconfig/named

    ROOTDIR=/var/named/chroot

    and /etc/init.d/named restart
    Affordable Linux Server Managament Solution
    http://www.linuxnetworkcare.com/services/cpanel.php
    [ Phone: 647-722-5303 MSN : sutha@linuxnetworkcare.com AIM : xerophytev skype:ksutha5]

  5. #5
    Member
    Join Date
    Dec 2003
    Posts
    40

    Default

    nice call!!!!

    ty a lot, it works like a charm.
    http://myIdealHost.com

Similar Threads & Tags
Similar threads

  1. named chroot
    By cygus in forum New User Questions
    Replies: 2
    Last Post: 08-01-2007, 03:55 AM
  2. named/views/chroot
    By valkira in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-17-2007, 10:52 AM
  3. Why can't I get rid of named?
    By Walker in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-02-2007, 11:09 AM
  4. no chroot on named
    By katmai in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-27-2006, 02:34 PM
  5. /var/named/chroot/etc/named.conf rewriting
    By _sr_ in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-09-2006, 02:23 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube