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
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]
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.