Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 431
  • 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

Featured Post

Lessons on Wi-Fi & Recommendations on KRACK

Simplicity and security can be a difficult  balance for any business to tackle. Join us on December 6th for a look at your company's biggest security gap. We will also address the most recent attack, "KRACK" and provide recommendations on how to secure your Wi-Fi network today!

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