You can configure DNS on Linux® Bind Server for load distribution across the physical nodes in the cluster.
Procedure
-
On the Linux Bind Server, edit the zone file by using
your choice of editor.
Depending on the Linux
distribution, the file is located
at:
/var/named/*or
/etc/bind/zones/*
- Create an entry for the hostname by using the FQDN of the cluster, and create an A record
entry for each VIP, as shown in the following example:
myserver.mydomain.com IN A 192.0.2.01
IN A 192.0.2.02
IN A 192.0.2.03
IN A 192.0.2.04
- Save the file.
Results
The update takes effect immediately.