Solved

How to resolve 1 web site to 2 IP addresses ?

Posted on 2004-08-16
8
200 Views
Last Modified: 2010-03-18
I have a web server(www.abc.com) which is configured to use 2 IP addresses interchangeably, x.x.x.x and y.y.y.y. I would like to configure my DNS server (MS Windows 2000 Server) to resolve www.abc.com to x.x.x.x (primary) and y.y.y.y (backup) with some sort of weighting methods.  Can this be done?  If yes, how?  Please note that this is not a load balancing or virtual server implementation as there's only 1 server with 2 different IPs here.
0
Comment
Question by:viansoo
  • 2
  • 2
  • 2
  • +1
8 Comments
 
LVL 18

Assisted Solution

by:crissand
crissand earned 40 total points
Comment Utility
As far as I know Windows 2k DNS does this by default. Just add the two addresses to the dns forward with the same name.
0
 
LVL 23

Accepted Solution

by:
Tim Holman earned 100 total points
Comment Utility
Yes - if you assign multiple A records to the same IP address, then resolutions will be forwarded in round-robin fashion.
However... they'll continue to do this forever and ever, even if either or the web servers is down.
So, in true load-balancing sense, this is NOT a good solution, as users will get a 'page cannot be displayed' page once every two times they try and access the site.

You could try WSLB -

http://www.networkingfiles.com/MS/MsloadbalancingNT.htm

...but it's really not that good.  You would generally need to spend some money to get some decent load balancing kit.  Think Alteon, RadWare, Cisco CSS.  Or you could cobble something together on Linux.
0
 
LVL 3

Expert Comment

by:saito1
Comment Utility
crissand

as I remember you can not create two www record in one zone. in one zone, if one record is www with IP x.x.x.x then other one could be www1 with y.y.y.y, something else.
and also as there is only one server, how to make load balancing ?
am I wrong ?
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:viansoo
Comment Utility
so the solution is ??
0
 
LVL 3

Assisted Solution

by:saito1
saito1 earned 60 total points
Comment Utility

OK I misunderstood something then I have made a search for you.

first
create www records in your zone
for example

www a.b.c.d
www k.l.m.n
...

then you need to activate this by doing following:

Start the registry editor (regedit.exe)
Move to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Parameters
From the Edit menu select New - DWORD Value
Enter a name of LocalNetPriority and press Enter
Double click the new value and set to 0 to disable LocalNetPriority and re-enable round robin. Click OK
Close the registry editor
Stop and restart the DNS service (or server)

hope this helps...
Rgdrs...

0
 
LVL 18

Assisted Solution

by:crissand
crissand earned 40 total points
Comment Utility
Have you created the two A records in dns? There is no name limitations, you can have the same name with different addresses.
0
 
LVL 23

Expert Comment

by:Tim Holman
Comment Utility
> so the solution is ??

If you're happy doing DNS load balancing that will fail 1 out of every 2 times a user tries to connect if one server is down, then use DNS.
If you want something a little better, try WLSB.
If you want to do things properly, get an application switch.  Search ebay for appswitch - you'll see a Top Layer one for < $400 which will give you a perfect solution for this.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 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

6 Experts available now in Live!

Get 1:1 Help Now