• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 383
  • 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, not sure if this is possible or not.
  • 2
1 Solution
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.
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.
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:

Split DNS
You can take a look also at this link - option 1:

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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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