Question

Easy DNS config querry, I need to forward internal requests for my domain to a local IP

Asked by: lukeglazebrook

I know I am going to look like a total dweeb/newb by asking this and I have even figured it out before but I want to make sure I am doing it correct.

Internally I need all requests for mydomain.homeip.net to be redirected to the local IP 192.168.0.99 which happens to host OWA and the Active Sync services for push email.  Currently now these requests fail internally for mobile devices on the wifi and desktops that try to browse via the domain name.

What is the formal name/term for the task I need to complete within the Server 2008 DNS manager?  And would some kind soul please inform me how to do it.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-11-07 at 09:13:47ID24880622
Topics

Domain Name Service (DNS)

,

Windows Server 2008

,

Microsoft Server

Participating Experts
4
Points
250
Comments
20

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Exchange, ActiveSync and WiFI
    I have an Exchange server that I can access over OWA (Outlook Web Access) over the internet. How do I setup my my HTC Wizard with WMobile 5.0 to sync over WiFi? I tried putting in the same address I use to access Exchange thru the internet, but it doesn't connect. I enabled m...
  2. DNS - OWA resolution.
    I have a domain called mydomain.local and there are three servers - AD Server MyFile1.mydomain.local - Email and IIS Server MyMail.mydomain.local and an ISA Server Gate1.mydomain.local. All 2003 based including the Exchange server on Mymail.mydomain.local. I have purchased a ...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: TBK-ConsultingPosted on 2009-11-07 at 09:18:58ID: 25767130

You need to setup the domain internally on Windows 2008 DNS Server and then give the A Record for each host that needs to be resolved with the proper internal IP Address, and if anything is external for that domain you'll need to list those out as well or internal requests for external items in that domain will fail from then on as well ...

 

by: lukeglazebrookPosted on 2009-11-07 at 09:49:03ID: 25767226

I just need DNS requests to mydomain.homeip.net to be redirected to 192.168.0.99 that all really.  I did it two years ago in the DNS manager and it took 2 seconds, but I hoonestly cant remember how.  Domain is all setup perfectly mate, mail works machines have joined it and all machines use the DNS server already which has forwarders to the ISP's DNs working prefect.  I just need to redirect request to the local IP, works fine outside the network.

 

by: technicasolutionsPosted on 2009-11-07 at 10:19:39ID: 25767366

There are three ways to do this:

1. the proper way:
look up how to set "DNS loopback" or "NAT loopback" for your router/firewall so that HTTPS requests from the LAN side to the WAN side are channelled to the correct server on the LAN side

2. the silly way
alter each users hosts file (C:\WINDOWS\SYSTEM32\DRIVERS\etc\HOSTS) with an entry like this:
192.168.0.99    mydomain.homeip.net

3. the very very silly way
set up a new domain in your internal DNS server but expect other things to break

 

by: TBK-ConsultingPosted on 2009-11-07 at 10:20:38ID: 25767370

Exactly - in order to resolve an internal ip address you have to use an internal DNS server that is capable of resolving the internal address ... external DNS servers will not resolve internal/private ip addresses ... so in the DNS Manager for the internal domain setup a zone for the homeip.net domain and then setup an A Record for the mydomain host, and then you'll need to setup hosts and mx records and such for all the external stuff (mail server, website, etc ... as long as that is actually external and not really internal - ie - you host website on IIS, and use exchange for email, then you can just set the A Records to use the internal IP addresses for those instead of the external)

Essentially once you setup the internal DNS Server to be authoritative for the domain, clients won't check the external DNS Servers in a query for the external stuff belonging to that domain, hence why everything A Records, MX Records, etc. need to be done inside as well ...

 

by: TBK-ConsultingPosted on 2009-11-07 at 10:31:06ID: 25767429

tecnica - not all routers support NAT Loopback ... which leaves you with your silly method and my supposedly very silly method ... yes Hosts file presents a very easy and fast way to do the redirect, but you have to remember to do that all the time to all the units, but handhelds where do you set their hosts file? so it's easier to understand DNS in the long run and setup the zone in the internal DNS Server, and understand what is internal and external and set the appropriate A Records to point to the right addresses whether they are internal or external ... only internal boxes will use this anyways, and anything external will still use the proper outside DNS settings to get to the outside resources ... now if you want external access to the internal resource you can always do a port forward on the router (I haven't seen a router without this ability at least) and gain access that way whether you are internal or external ....

 

by: technicasolutionsPosted on 2009-11-07 at 10:34:45ID: 25767454

It is very very silly because it is effectively lying to your network. But it will work.
For the record I have not yet found a router that doesn't support NAT loopback but sometimes you have to use a CLI to set it.

 

by: lukeglazebrookPosted on 2009-11-07 at 11:38:59ID: 25767711

Hmm I have a Draytek 2820VN I can find no reference to DNS loopback in the manaul.  Is DNS loop back known under another term/phrase?

 

by: technicasolutionsPosted on 2009-11-07 at 11:40:38ID: 25767714

known as NAT loopback and it can be done on drayteks

 

by: lukeglazebrookPosted on 2009-11-07 at 11:56:24ID: 25767777

I would imagine a Draytek would support this they are pretty feature rich but buggered if I can find the option.  I have searched the wntire manual for the phrase and rumaged throughout the router and not found any particular area that hints at what I am after.

 

by: technicasolutionsPosted on 2009-11-07 at 12:16:09ID: 25767841

There are notes in their firmware releases saying they do support NAT loopback.

I can't remember how NAT is set up on Drayteks but on most good firewalls it is matter of setting a rule as follows:

Source: LAN Subnet
Destination: Primary WAN IP Address
Service: HTTPS
Translated Source: Primary WAN IP Address  
Translated Destination: IP address of OWA server

 

by: ChiefITPosted on 2009-11-07 at 21:28:10ID: 25769506

Prior to trying to support DNS, you should understand how a DNS query works.

http://www.experts-exchange.com/articles/Networking/Protocols/DNS/DNS-Troubleshooting-made-easy.html

For a domain, you need a top-level domain name server. Otherwise, you will not resolve inside queries without configuring a host file on EVERY SINGLE computer with a list of EVERY SINGLE COMPUTER in the host file.

Are  you on a domain? If so, you set up a DNS server for internal queries. Then, you point all your servers printers and computers to that server. Then, you configure forwarders to look outside your domain.

 

by: ChiefITPosted on 2009-11-07 at 22:18:46ID: 25769582

I have to say, this is all backwards. If you have a Domain controller, you should have a Domain DNS server. They are usually and recommended being the same Machine.

 

by: lukeglazebrookPosted on 2009-11-08 at 03:01:55ID: 25770111

I do have a Dc mate, I stuck in a few DNS forwarders provided by "OpenDNS.com" performance seems to have massively improved with regards to resolution of webpages well chuffed.  To be honest I thought that meant I had configured everything perfectly.  There is seems to be a lot more into this than I initially thought.  I am currently reading your article, interesting to know how it all actually works.

 

by: ChiefITPosted on 2009-11-08 at 06:56:26ID: 25770656

With a DC that had DNS, you have the full ability to provide internal DNS resolution. In fact, that is about 1/2 the battle of a strong Domain.

Queue me when you want to troubleshoot and fix all your DNS issues.

 

by: technicasolutionsPosted on 2009-11-08 at 07:04:18ID: 25770676

Even with a working DNS server what he wants to do is wrong. As he thinks he wants to spoof an external domain to point it to an internal server. The legal and proper way to do what he wants is DNS NAT loopback at the router.

 

by: lukeglazebrookPosted on 2009-11-08 at 07:12:54ID: 25770693

Legal?  Blimey the DNS police going to get me, lol.  Anyhow I am currently trying to figure out how to configure NAT loopback at the router, no luck yet?

 

by: ChiefITPosted on 2009-11-08 at 07:26:26ID: 25770728

The more secure method of getting into the domain from the outside world is a VPN connection. That is a secure tunnel to the domain itself. The VPN will go right to the router, where the router will provide a link into the domain. It's like skipping the router.

A  more expensive approach, but the most secure way is to create a DMZ, outside the firewall, and impliment PKI or a citrix server.

I was under the impression, he wanted to fix internal DNS resolution. It also appears like there were a few discrepancies with External DNS resolution.

If he wants mail and maybe a corporate web site to be accessed from the oustide, this means we are looking at router edits and VPN software.

So, the author may need to be a little more explicit in his intentions before we can set him up with a working/secure solution.

Regargless of what action is taken, it would be best to get DNS to work the way it was designed. Then, work on outside access to certain stuff. None of this will work if DNS isn't straight.

 

by: technicasolutionsPosted on 2009-11-08 at 07:40:00ID: 25770759

No, I don't think you have been reading the question. He has been very explicit but you have an agenda. I think you've seen DNS in the title made some assumptions and waded in with lots of your pre-set DNS explanations (which I'm sure are very helpful to many people when used appropriately).

At no point has anyone but you said his DNS is broken. It is not. That is not the issue.

He needs his devices to resolve an external FQN to his main WAN address when outside the LAN but to a LAN server address when inside the LAN. He could spoof the FQN in his internal DNS but that would be nasty or he could keep the FQN pointing to the correct WAN address and do DNS loopback on the router for anything with a source on the LAN which is the proper way and neatest way to do it.

 

by: wdurrettPosted on 2009-11-09 at 13:38:24ID: 25780400

Luke,

Do you have a Cisco router?  There is functionality built in for exactly what you want to do.  It is the DNS rewrite configuration.  Basically, it will rewrite the DNS at the router level and provide you what you need without having to monkey around with your DNS config.

Please let me know if you are interested in pursuing this method.

 

by: lukeglazebrookPosted on 2009-12-03 at 07:50:08ID: 31651412

A lot more in-depth than I initially thought

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...