Solved

DNS Round Robin

Posted on 1997-11-07
6
616 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
6 Comments
 
LVL 5

Expert Comment

by:n0thing
Comment Utility
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 300 total points
Comment Utility
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
Comment Utility
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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

Expert Comment

by:paulroberts
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now