Solved

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

Posted on 2015-01-19
2
187 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
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.

705 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