Centos 6 – BIND [chroot] fresh install

Published on Author gryzliLeave a comment

Here I will describe some basic steps for doing fresh install of chrooted bind version under Centos 6.



Install the rpm packages


Move the necessary directories

This part is very important, cause if you don’t do this, bind won’t start.

Also if /var/named/chroot/var/named/dynamic directory is missing you will most likely  experience strange CPU starving problems. In my case named was eating lot of CPU without doing anything.

Edit /etc/named.conf and fine-tune little bit

Also I removed the IP/port bindings from named.conf in order the server to listen on all of my interfaces. By default it listens only on localhost.

Add the following section in /etc/named.conf


Create the zone file blog.gryzli.info.zone

$ vim /var/named/chroot/var/named/blog.gryzli.info.zone


Finally we must restart named:


Leave a Reply

Your email address will not be published. Required fields are marked *

Captcha * Time limit is exhausted. Please reload CAPTCHA.