Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

DNS Round Robin

Posted on 1997-11-07
6
Medium Priority
?
633 Views
Last Modified: 2013-12-23
I would like to have two NIC´s in a Unix Server, configured with two different IP addresses so I can balance net traffic.
However, I need to find a way to configure my DNS servers to alternate, in a round robin fashion, the address they give to the clients when they request a name.

How do I do that?

Thanks.
0
Comment
Question by:estevaf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 5

Expert Comment

by:n0thing
ID: 1582895
I don't know which version of bind/named you're using or the
platform. But by default, it's Round Robin on Solaris & AIX 3.2.5. I've to rebuild named to disable Round Robin in my case.
Let me know which version & platform you're running your DNS on.
By default, round robin is on on most of the named I've seen so far.

Regards,
Minh Lai
0
 

Accepted Solution

by:
Rodney110897 earned 600 total points
ID: 1582896
The best way to do this is by using CNAME's:

card1        A         192.168.1.1
card2        A         192.168.2.1

unix         CNAME     card1
             CNAME     card2


After refreshing the nameserver check this by pinging 'unix' a few times, it should alternate between card1 and card2.

0
 
LVL 1

Expert Comment

by:Joshua111197
ID: 1582897
Please tell, if the above works. In my opinion the ping would
reach only card1, beacuse this is the first entry thas is
found. But perhaps I'm wrong...
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 

Expert Comment

by:paulroberts
ID: 1582898
The proper way to do DNS round-robin is to use A records rather than CNAME's, e.g.

server1 IN A 192.168.1.1
server1 IN A 192.168.2.1
0
 

Expert Comment

by:pvenezia
ID: 1582899
Best solution:
*host file*
servername       IN   A    192.168.1.1
                 IN   A    192.168.1.2

*rev file*
1          IN         PTR    servername.domain.com
2          IN         PTR    servername.domain.com

0
 

Expert Comment

by:grantk
ID: 1582900
According to the BOG (Bind Operators Guide):
       hydra           cname        hydra1
                       cname        hydra2
                       cname        hydra3
       hydra1          a            10.1.0.1
                       a            10.1.0.2
                       a            10.1.0.3
       hydra2          a            10.2.0.1
                       a            10.2.0.2
                       a            10.2.0.3
       hydra3          a            10.3.0.1
                       a            10.3.0.2
                       a            10.3.0.3

Note that there are two round robin rotations going on: one at ("hydra",CNAME) and one at each ("hydra1",A) et al.  I used a layer of CNAME's above the layer of A's to keep the response size down.  If you don't have nine addresses you probably don't care and would just use a pile of CNAME's pointing directly at real host names
0

Featured Post

Looking for a new Web Host?

Lunarpages' assortment of hosting products and solutions ensure a perfect fit for anyone looking to get their vision or products to market. Our award winning customer support and 30-day money back guarantee show the pride we take in being the industry's premier MSP.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
This program is used to assist in finding and resolving common problems with wireless connections.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question