Traditional DNS & Perfect Centos

Discussion in 'HOWTO-Related Questions' started by adam0x54, Jun 19, 2008.

  1. adam0x54

    adam0x54 New Member

    Hello,
    I wanted to give CentOS a try and make a dns server with CentOS.
    I followed the tutorial on Centos perfect server and created a chrooted bind. then I followed the traditional dns. This is a testing environment with only one master dns. I got the following error:
    Starting named:
    Error in named configuration:
    zone 0.0.127.in-addr.arpa/IN: loading master file db.local: file not found
    _default/0.0.127.in-addr.arpa/IN: file not found
    zone ***.***.128.in-addr.arpa/IN: loading master file dns.***.***.128.in-addr.arpa: file not found
    _default/***.***.128.in-addr.arpa/IN: file not found
    zone ******.com/IN: loading master file dns.***********.com: file not found
    _default/*******.com/IN: file not found

    I intalled the bind package from the beginning and then I chrooted it and it seems that is looking for files in normal bind installation.

    Thanks,

    Adam
     
  2. topdog

    topdog Active Member HowtoForge Supporter

    It is looking for the files inside your chroot fix it, this is just a case of files not being found.
     
  3. adam0x54

    adam0x54 New Member

    I removed the whole bind + bind-chroot and I installed bind chrooted only.

    Now, I get this error:
    Starting named:
    Error in named configuration:
    /etc/named.conf:3: change directory to '/var/named/chroot' failed: file not found

    /etc/named.conf:3: parsing failed
    [FAILED]
     
  4. adam0x54

    adam0x54 New Member

    I solved it.. I had to remove everything - Install bind & configure all the zones + named.conf and then i just installed bind-chroot, restarted and that was it. The server works fine.
     

Share This Page