[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Resolve external DNS name to internal IP

Posted on 2008-06-19
5
Medium Priority
?
1,174 Views
Last Modified: 2010-04-21
Is there a way to internally resolve an external domain name to a internal IP address? For a couple of applications to work both internally and externally I need to have mail.company.com resolved to an internal name/IP when connected locally.  

External - company.com - Externally hosted DNS
Internal - company.local

Internally mail resolves to the internal IP while mail.company.com resolves to an external IP but never connects.

Is there a zone I can create to resolve only mail.company.com internally and pass the rest onto the external DNS?

Thanks in advance
0
Comment
Question by:pmetech
[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
5 Comments
 
LVL 31

Expert Comment

by:Henrik Johansson
ID: 21822802
Create the zone for company.com on the internal DNS server and add each host with its internal IP to the company.com hosted on the internal DNS server.
0
 
LVL 14

Expert Comment

by:sentner
ID: 21822804
If you want to override the DNS interenally for that zone, you'd have to create a complete zone file as far as I know.  Other option would be to set up a local hosts file entry on the affected systems, which would override it for just that one name, but is something you have to set up on each host.

0
 
LVL 71

Accepted Solution

by:
Chris Dent earned 1000 total points
ID: 21823283

> Is there a zone I can create to resolve only mail.company.com internally and pass
> the rest onto the external DNS?

Sure.

Create a zone called "mail.company.com", then add a Host (A) Record with a blank name pointing at the internal IP.

The blank name should make the record appear as "(same as parent folder)".

With this method you only claim authority for mail.company.com so all other records within company.com are sent to external name servers as before.

HTH

Chris
0
 

Author Closing Comment

by:pmetech
ID: 31468796
I cannot believe I did not think of this.  Thank you much.
0
 
LVL 71

Expert Comment

by:Chris Dent
ID: 21823513

You're welcome :)

Chris
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Group policies can be applied selectively to specific devices with the help of groups. Utilising this, it is possible to phase-in group policies, over a period of time, by randomly adding non-members user or computers at a set interval, to a group f…
It’s time for spooky stories and consuming way too much sugar, including the many treats we’ve whipped for you in the world of tech. Check it out!
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

656 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