Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Jan 2004
    Posts
    144

    Exclamation BIND - DNS Problems - need help

    I just set up a VPS server with Centos 3.4 and all seemed to work well, however after updating the domain over to the new nameservers, and configuring those at the domain registrar. The site dies, it seems that the bind is not working correctly. I tried using /scripts/fixdnc but that did not resolve the problem. Which is:

    Apr 12 12:34:58 ve300 named[21792]: zone customer_domain.com/IN: loading master file /var/named/customer_domain.com.db: file not found
    Apr 12 12:34:58 ve300 named[21792]: zone ve300.customer_domain.com/IN: loading master file /var/named/ve300.customer_domain.com.db: file not found
    Apr 12 12:34:58 ve300 named[21792]: zone customer_domain.com/IN: loading master file /var/named/customer_domain.com.db: file not found


    It is not loading the dns zones. I tried to delete and recreate them in whm, and that did not work. Same error. I have verified that these files fo exist in the /var/named directory.

    Can anyone give me a hand resolving this issue?

  2. #2
    Member
    Join Date
    Apr 2002
    Posts
    6

    Default centos DNS problems

    Hi all
    I have just had the same problem, it seems that centos creates a chrooted environment for named.
    Cpanel locates the zone files in /var/named I was getting the same error file not found, I noticed the directory /var/named/chroot/var/named so I copied all of the zone files into there and restarted named, and guess what named could suddenly find the zone files and I was then able to get an authortive response using NSLOOKUP for the domains.
    I have submitted a ticket with cpanel.net to find out if there is a fix for this problem.
    cheers, Reggie
    cheers, Reggie

  3. #3
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    You can simply disable the chroot named by editing /etc/sysconfig/named and comment out the line that begins with:

    ROOTDIR=

    Then move your .db files to /var/named and chown the directory to the named user:

    chown -R named:named /var/named

    Then restart named:

    /etc/init.d/named restart
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    May 2003
    Location
    Michigan, US
    Posts
    90
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default Thanks Chirpy!

    This just helped me.

    Thanks Chirpy!

Similar Threads & Tags
Similar threads

  1. DNS / BIND intermittent problems
    By webhead2 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-30-2009, 07:40 PM
  2. Exhausted! DNS, Bind, Nameservers problems
    By lab4games in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-22-2007, 10:16 AM
  3. Problems With Bind/dns Again
    By duranduran in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-24-2006, 05:40 PM
  4. dns problems using bind and freebsd 5.3
    By f3d in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 04-26-2005, 05:13 PM
  5. Problems with BIND and DNS zones
    By allwin in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-04-2002, 12:22 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube