CentOS 6.5 Bind with Chroot

This article describes my experience installing and configuring a BIND DNS server on CentOS 6.5 with bind-chroot as a proof of concept. I am not going to go into great detail (in this article) about first securing the underlying OS but please ensure that if this is going to be Internet facing that you take the time to secure the server. It is also HIGHLY recommended that you have multiple DNS servers for redundancy purposes that allow secure zone transfers between each other if you plan to use this article as a starting point for a production environment. In this article, we are going to setup a single DNS server as a POC (Proof of Concept) so I am not going to detail these (or many other) configurations beyond the very basic installation.


I take no responsibility for any damage that may result from following this guide. Ensuring that you take the appropriate measures to secure your server/infrastructure is paramount. This is also a VERY basic guide. Bind is a complicated animal and explaining all of the configuration options is outside the scope of this document.

Read More


This post outlines the procedures that I use to secure a LAMP stack built on Ubuntu or Debian. All of the techniques outlined in this post are ones that I have gathered over the years through experience as well as through research and other Internet sites.

DISCLAIMER: I take no responsibility for any damage that may be caused to your system as a result of following any portion of this guide. As with anything that has a system wide effect, it is highly recommended that you backup your system prior to making any changes. Additionally, as with any web application, it is important to ensure that the file permissions are set correctly as well as that the code has been audited to ensure it is secure.

Read More