Solved

Resolving an A name DNS entry from inside that network.

Posted on 2014-01-30
3
371 Views
Last Modified: 2014-01-30
I have created an A name (alias.mywebsite.com) that points to my static IP address (xx.xx.xx.xx). I have an I-Pad app that uses alias.mywebsite.com to connect while I am out of the office. I need to be able to resolve alias.mywebsite.com when I am out of the office and have it connect to my static IP (xx.xx.xx.xx) but when I am in the office I need it to access the server locally at its internal IP address 192.168.1.5, not sure if this is possible or not.
0
Comment
Question by:russzao86
[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
3 Comments
 
LVL 27

Accepted Solution

by:
davorin earned 500 total points
ID: 39822445
You will need to configure split DNS. You will need to create mywebsite.com zone on your internal DNS server and an A record alias.mywebsite.com that points to its internal IP address. Plus you will need to create/copy all other records, that your domain has on the internet accessible DNS servers.
Other option that will take you less administrative effort is to create a loopback on your router. So all requests to alias.mywesite.com that will come from inside of your network will be redirected again into your internal network to the correct internal IP address.
0
 

Author Comment

by:russzao86
ID: 39822466
Awesome, thank you davorin. The router is pretty basic so I'm not sure if it has the loopback. I will setup a new dns zone and put all the records in place. Thank you.
0
 
LVL 27

Expert Comment

by:davorin
ID: 39822506
Loopback is quite a basic function of routers and sometimes it is just automatically enabled.  Here is the list of some routers that supports it:
http://opensimulator.org/wiki/NAT_Loopback_Routers

Split DNS
You can take a look also at this link - option 1:
http://www.petenetlive.com/KB/Article/0000830.htm

It is a kind of workaround to minimize administrative problems, so you will not need to enter all existing  dns records if you need just one.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

739 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