Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 432
  • Last Modified:

DNS round robin

Hi guys, I know this question has been asked a number of times but I just want to be sure.

I have 2 servers each hosting the same application.

When a user tries to connect to the application I want DNS to to respond by giving it the IP address of server 1, then server 2, etc.

I have enabled DNS round robin but am not sure how to create the host entries.

Do I just create 2 new A host entries with the same name and different IP addresses (each pointing to the relevant server)?

For example:
Name = application
IP = server1

Name = application
IP = server2

Is that right?
0
amaru96
Asked:
amaru96
  • 2
  • 2
2 Solutions
 
lecretiaCommented:
That will work fine.
0
 
vanbarsounCommented:
If this is for web/ftp services then yes, you simply create multiple A records with different addresses. See this link for more detail:
http://zytrax.com/books/dns/ch9/rr.html

0
 
amaru96Author Commented:
No, the application is some warehouse management system.
0
 
lecretiaCommented:
That will work for anything, it will however break session based reconnects, just something to remember...
0
 
amaru96Author Commented:
ok, cool. Thanks for clarifying.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now