How to set up round-robin DNS

Peter Rukavina

I have two webservers, on separate machines, on separate networks. They are identical. I want them to respond, in round-robin fashion, to the same domain name — host.domain.com. How do I set this up in DNS? Turns out it’s actually very easy:

host.domain.com  IN  A  192.168.1.1
host.domain.com  IN  A  10.1.10.1

The DNS server (BIND, in my case) will serve up the “next” IP address for host.domain.com every time it’s queried.

Takes 10 seconds to configure.

Comments

Submitted by Ken on

Permalink

I am about to build a DNS server using BIND, can you tell me anything that will help me before I start?
I plan to use Red Hat 9, and still need to find BIND to go with it.

Submitted by Ken on

Permalink

I have loaded Red Hat 9 successfully!
I’ve also got BIND sort of running, still need to make a .conf file, wondering how to test it works right.
Just set my DNS in Windows to my server rather than 142.176.17.8,9 and see if it works?

Does my BIND server need to point to 142.176.17.8 and 9?

Add new comment

Plain text

  • Allowed HTML tags: <b> <i> <em> <strong> <blockquote> <code> <ul> <ol> <li>
  • Lines and paragraphs break automatically.

About This Blog

Photo of Peter RukavinaI am . I am a writer, letterpress printer, and a curious person.

To learn more about me, read my /nowlook at my bio, read presentations and speeches I’ve written, or get in touch (peter@rukavina.net is the quickest way). You can subscribe to an RSS feed of posts, an RSS feed of comments, or receive a daily digests of posts by email.

Search