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.
Installing BIND
The steps below will install the chrooted BIND and the GUI configuration tool.

2. Start the named service. Learn how to start and stop services.
3. Open the TCP port 53 and UDP port 53. Learn how to configure the firewall.Configuring BIND
The steps shows how to configure BIND using the GUI configuration tool.

1. Click System, select Administration and click Domain Name System. This will launch the BIND Configuration GUI window.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.

1. Right click the zone you where you want to add an MX record, select Add and click MX Mail Exchange.Testing BIND
To test your BIND setup, you can use the nslookup and dig utility.

1. Type the command below in a terminal window to use nslookup
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.

2. Type in the command below to query any records using dig.
dig @localhost acme.local ANYReplace acme.local with your own domain. If your DNS server is not on localhost then change it.
Visit the forum to ask for help or to give a comment.
***
Posted on 10/24/2009 and last updated on 11/6/2009
Filed under Uncategorized














