Solved

How can I make DNS resolve different addresses dependant on location?

Posted on 2015-01-19
2
162 Views
Last Modified: 2015-01-22
I have a domino web-enabled database located in mutliple location.
The documents replicate on a schedule so content is always up-to-date.
We use replicas on each site, mainly because some locations cannot procure fast Internet connections to allow everyone to use one central server.

As all sites are in one windows domain, they share DNS.
The dilemma I face is that I want anybody to be able to visit the address (database.domain.com) and be directed to their site's local server.
For Example;
a Russia uses visits to database.domain.com and the site on10.53.0.5 opens
while a user in Bahrain  visits database.domain.com and the site on10.50.0.5 opens
etc...

So far I haven't found a solution inside DNS to set-up these dynamic resolutions....
0
Comment
Question by:Unifrax
2 Comments
 
LVL 26

Accepted Solution

by:
DrDave242 earned 500 total points
ID: 40558012
At this time, Windows DNS has no built-in mechanism for this. I can only think of one way to make it work. It's a little bit kludgy, but it should do the job:

Assuming database.domain.com is the FQDN you want to use, create separate forward lookup zones named database.domain.com on the DNS servers in each site. Don't make these AD-integrated zones, and don't set up any zone transfers from one site to another, as you don't want the zones replicating between sites. (Zone transfers between DNS servers within a site are fine.) In each zone, create blank host records with the IP addresses of the corresponding database.domain.com servers within that site.

With this arrangement, users in each site should only be able to resolve database.domain.com to the IP addresses of the servers within that site. In my experience, if you have a zone named database.domain.com containing a blank host record and also have a zone named domain.com which contains a host record named database, the blank host record in the database.domain.com zone is the one whose IP address will be returned in response to a query. You may want to test this a bit before deploying it in production, though.

EDIT: Of course, this assumes that each site has at least one DNS server. If this isn't the case, I can't think of a way to make it work within Windows DNS.
0
 

Author Closing Comment

by:Unifrax
ID: 40564757
This worked perfectly. Thanks!
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

895 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

17 Experts available now in Live!

Get 1:1 Help Now