• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 382
  • Last Modified:

Resolving an A name DNS entry from inside that network.

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
russzao86
Asked:
russzao86
  • 2
1 Solution
 
davorinCommented:
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
 
russzao86Author Commented:
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
 
davorinCommented:
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!

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