Problems With DNS in Cpanel

Discussion in 'Installation/Configuration' started by cooltop, Aug 21, 2008.

  1. cooltop

    cooltop New Member

    Okay got cpanel installes on Centos 5.2. You can reach it by the IP number but is not able to bring it up by doing I Know the register side is right b/c it works fine through my Win Server machine. I am replacing it with mt Centos box. So here is what i know so far under server status its says

    named has failed, please contact the sysadmin (result was "named is not running"). Aug 21 12:44:32 ns1 named: none:0: open: /etc/named.conf: file not found

    okay and when i try to name it or edit file it says

    zone loaded serial 2008082112

    Bind reloading on ns1 using rndc zone: []
    Error reloading bind on ns1: rndc: connect failed: connection refused

    If anyone knows how to fix this please let me know thanks
  2. cooltop

    cooltop New Member

    Falco if you would like the login details to look at let me know and I will give them to you. Its a new server so there really not much there to mess up or anything
  3. falko

    falko Super Moderator ISPConfig Developer

    Does /etc/named.conf exist? If so, what's in it, and what's the output of
    ls -l /etc/named.conf
  4. cooltop

    cooltop New Member

    Okay Got it working this is what I had to do for anyone else needing to know

    First, I commented out the following line in /etc/sysconfig/named:


    Then, I checked for the bind-chroot package, which did not exist.

    I removed the symbolic links to the chroot'd named.conf files from /etc/,
    copied the zones from /var/named/chroot/var/named to /var/named and ran:

    /etc/init.d/named restart

    also for note: Named was set to run in a chroot'd configuration (according to
    /etc/sysconfig/named) but the configuration was not fully built to support this
    setup. (Additionally, cPanel does not yet support chroot'd named.
    So named has to use a standard configuration.

    So after all that figuring out that CPANEL does not support CHROOT'D it made more since

Share This Page