Skip to main content

Posts

Showing posts from September, 2012

Round-Robin DNS Setup

Round-Robin DNS Setup Round-robin DNS provides load distribution across multiple machines using the same hostname but each having their own IP.  Each request to the DNS server is routed to a different machine in sequential order.   Configuration of round-robin DNS uses the Berkeley Internet Name Domain(BIND) named daemon.  BIND uses zone files to define hostnames with address records.
An example of a round-robin BIND zone file:
 nfs.test.local IN A 10.10.0.101  nfs.test.local IN A 10.10.0.102  nfs.test.local IN A 10.10.0.103
Install and Setup This applies to RHEL.
Make sure the BIND package is installed.   Do not install the bind-chroot package:
yum install bind
The install creates the named service and the following configuration files:
/etc/named.conf                          #read when named service starts /var/named                                  #working directory for the named service /var/named/dynamic                   #directory for the zone data
Edit named.conf to look like the…