BIND is an open-source software that implements the Domain Name System (DNS) protocols for the Internet. The name BIND stands for “Berkeley Internet Name Domain”. This article describes how to install and configure BIND in Red Hat Enterprise Linux 5 or CentOS 5.
The steps below will install the chrooted BIND and the GUI configuration tool.
The steps shows how to configure BIND using the GUI configuration tool.
Creating a DNS Zone
The steps below will show you how to create a DNS zone named “acme.local”.
Creating DNS Records
The steps below describes how to create some of the most common DNS records.
Creating an A record
An A record maps a hostname to its IPv4 address.
Creating a CNAME record
A CNAME record specifies that a domain name is an alias of another domain name.
Creating an MX record
An MX record specifies how Internet e-mail should be routed using SMTP.
To test your BIND setup, you can use the nslookup and dig utility.
nslookup mail.acme.local localhostReplace mail.acme.local with the domain you want to check. If your DNS server is not on localhost then change it.
dig @localhost acme.local ANYReplace acme.local with your own domain. If your DNS server is not on localhost then change it.
A working DNS is required to operate a mail server. Actually, almost every server requires it. But learning how to get it to work is just too difficult.
Red Hat provides tools to simplify working with BIND. But actually using BIND in a live production environment requires a really deep understanding of how DNS and BIND works.
A deep understanding of DNS and BIND will enable you to deploy a secure, stable and reliable DNS service which can operate without too much maintenance for a long, long time.
This book does a great job of explaining DNS in general and installing, configuring, and maintaining a BIND server in particular.
Visit the forum to ask for help or to give a comment.
Posted on 10/24/2009 and last updated on 10/10/2010
Filed under Uncategorized