Solved

Resolving an A name DNS entry from inside that network.

Posted on 2014-01-30
3
369 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
  • 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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

I will assume you are running a non-server version of some sort of Windows throughout this article. There are many flavors of Windows since Windows Server 2000 - 2008, XP Home & Pro, Vista Home & Pro, and Windows 7 Starter, Home, Pro, Ultimate, etc.…
One of the most often confused topics in the area DNS is the idea of GLUE records. Specifically, what they are, when they are needed, when they are provided, and how they are created. First, WHAT IS GLUE? To understand GLUE, you must first under…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

856 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