How to Configure DNS Round Robin

Solution Unverified - Updated -


  • Red Hat Enterprise Linux
  • Bind


  • How to set up DNS Round Robin for load sharing or fault tolerance


Round Robin DNS is a technique in which load balancing is performed by a DNS server instead of a strictly dedicated machine. A DNS record has more than one value IP address. When a request is made to the DNS server that serves this record, the answer it gives alternates for each request.

For instance, in order to distribute requests between three web servers, make following changes in DNS zone files.

; zone file fragment

www   IN  A
www   IN  A
www   IN  A

; or use this format, which gives exactly the same result

www   IN  A
      IN  A
      IN  A

Restart named service.

On RHEL 6:

#  service named restart

On RHEL 7:

# systemctl restart named

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.


If any one link down out of that three web server, user will not reach that web site ? how we can solve that issue ?

Hi Sivaji, you'll need to provide more details about the issue you're having. I encourage you to open a Red Hat support case for the issue.