How to Install and Configure Bind Chroot DNS Server on CentOS 6.4 VPS

This article will explain the steps to install and configure the DNS Server chroot binding on CentOS 6.4 virtual private server (VPS) or dedicated server. Usually if you plan to install email server or your own web server, it is good to have your own domain name service (DNS), so that you will have full […]

How to Setup Bind Chroot DNS Server on CentOS 6.3 x86_64

bind

BIND (the Berkeley Internet Name Domain) also known as NAMED is the most widely used DNS server in the internet. Bind DNS helps to resolve domain name to ip address and ip address to domain name. There are essentially a few reasons to running your own internet DNS Server. First, of course we need to […]

How to Configure Bind-Chroot Logging on CentOS 6.2

bind

In this post, i will show on how to turn on Bind DNS server logging in order to log all the dns queries on CentOS 6.2 linux server. Assumed that the bind9 chroot has been properly configured. 1. Create Soft link, symlink or symbolic link to /var/log : [root@ns1 ~]# ln -sf /var/named/chroot/var/log/dns.log /var/log/dns.log [root@ns1 […]

How to Add SPF Record in Bind DNS Zone on Linux

bind

In order to prevent the Hotmail.com, Gmail.com, Yahoo.com and other top internet mail provider interpret all mails originate from your server to be spam and then placed it into junkmail folder, it is recommended to add SPF (Sender Policy Framework) in your zone file. The ISPs and email providers usually will check for SPF record […]

How to Setup Private DNS With Bind9 Chroot on CentOS 6.2 VPS

bind

Assumed that you already buy two Virtual Private Server (VPS) but you dont want to point your nameservers on your hosting provider. To look more professional and stylish, you can run and have two private nameservers such as ns1.ehowstuff.local and ns2.ehowstuff.local. This post will show you the steps on how to setup and run your […]

How to Install Bind Utilities on Fedora 16

Fedora 18

Question : When i try to test mx record using host command and other bind utility command such as nslookup, i get this error : [root@fedora16 ~]# host -t mx fedora16.local -bash: host: command not found Solution : BIND Utilities is not a separate package, it is a collection of the client side programs that […]

How to Install and Configure Bind Chroot DNS Server on Fedora 16

Fedora 18

DNS is the Domain Name System that maintains a database that can help user’s computer to translate domain names such as www.ehowstuff.com to IP addresses such as 184.173.214.97. DNS on CentOS and Fedora is based on the named daemon, which is built on the BIND package developed through the Internet Software Consortium. (More information is […]

How to Configure Bind Chroot DNS Server on Linux CentOS 5.7 Server

In this post, i will guide you on how to configure Bind Chroot DNS server on Linux CentOS 5.7 Server. DNS is the Domain Name System that maintains a database that can help user’s computer to translate domain names such as www.ehowstuff.com to IP addresses such as 184.173.214.97. DNS on CentOS is based on the […]

How to Install Bind Chroot DNS Server on Linux CentOS 5.7 Server

DNS is the Domain Name System that maintains a database that can help user’s computer to translate domain names such as www.ehowstuff.com to IP addresses such as 184.173.214.97. DNS on CentOS is based on the named daemon, which is built on the BIND package developed through the Internet Software Consortium. (More information is available from […]

How to Install and Configure Bind Chroot DNS Server on RHEL 6

rhel

In this post, i will guide you on how to install and configure Bind Chroot DNS server on Redhat Enterprise Linux 6 (RHEL 6). DNS is the Domain Name System that maintains a database that can help user’s computer to translate domain names to IP addresses. This post will show the installation and configuration for […]

How to Fix “/etc/rndc.key: permission denied” for named Service Error

linux

Symptoms : I keep getting this error every time I try to start the named daemon service : [root@centos62 ~]# service named start Starting named: [FAILED] Then i checked at the /var/log/messages, i get the following messages : [root@centos62 ~]# tail -f /var/log/messages Feb 6 21:51:22 centos62 named[1341]: loading configuration from ‘/etc/named.conf’ Feb 6 21:51:22 […]

How to Configure Bind Chroot DNS Server on CentOS 6.2

centos6

In this post, i will show you on how to configure Bind Chroot DNS Server on CentOS 6.2. Assumed that you have installed Bind Chroot DNS. 1. Install Bind Chroot DNS Server [root@centos62 ~]# yum install bind-chroot -y 2. Create a file /var/named/chroot/var/named/ehowstuff.local with the following configuration: [root@centos62 ~]# vi /var/named/chroot/var/named/ehowstuff.local ; ; Addresses and […]