Setting Up BIND


Just as with any other service, you need to install the packages for BIND first.

Step 1. Install the required packages:

# yum install -y bind bind-utils bind-libs

Step 2. Verify that the packages have been installed:

# rpm -qa | grep ^bind
bind-utils-9.7.0-5.P2.el6.x86_64
bind-9.7.0-5.P2.el6.x86_64
bind-libs-9.7.0-5.P2.el6.x86_64

Step 3. Ensure that the service is set to start on system boot:

# chkconfig named on

Step 4. Verify that the service is set to start on boot:

# chkconfig --list named
named 0:off 1:off 2:on 3:on 4:on 5:on 6:off

At this point, you need to decide what type of DNS server you would like to set up. According to Red Hat, there are two types of nameservers:

  • Authoritative— These nameservers answer to resource records that are part of their zones only. This includes both primary (master) and secondary (slave) nameservers.
  • Recursive— These nameservers offer resolution services but are not authoritative for any zone. All query answers are cached in memory for a fixed period of time. There is another way you can classify nameservers:
  • Master— This nameserver stores original and authoritative zone records for a particular namespace. It also answers queries about the namespace from other nameservers. Each domain must have at least one master.
  • Slave— Although this nameserver receives its namespace information from a master nameserver, this nameserver type can answer queries for which it has au- thority. Used for load balancing and redundancy.
  • Caching— This nameserver has no authority and is primarily used for name-to-IP resolution. All resolutions are cached for a fixed period of time. Heavily used by Internet service providers (ISPs).
  • Forwarding— This nameserver has no authority and is used only to forward requests to specific nameservers for resolution.

results matching ""

    No results matching ""