Avatar of NilsIT
NilsIT
 asked on

Reach external servers with URL under intranet domain

When setting up our windows domain controller we choose a domain mycompany.com for the domain controller's domain. The problem is we have servers OUTSIDE of our intranet that use e.g. server1.mycompany.com as URL. If we configure our Windows clients to use our domain controller as the DNS server, we cannot reach those servers. Even configuring our internet gateway router as the primary DNS server (and the DC as the seondary) we sometimes cannot reach them - probably ur domain controller somehow gets in the way.

What do we need to seamlessly use external and internal servers under the mcompany.com domain?
Active Directory

Avatar of undefined
Last Comment
NilsIT

8/22/2022 - Mon
cdfs

Add an appropiate A-Record to your internal DNS. If your clients are using your domain-controller as primary DNS, configure it there, if they are using your gateway-router as primary DNS, configure it there.
NilsIT

ASKER
Dear cdfs, I am not sure I understand your solution:

The external servers are hosted at a hosting company, not within our network. They can be accessed from anywhere using the URL EXCEPT from within our intranet because the internal domaincontroller/DNS server thinks he is responsible for all URLS below mycompany.com. Using the IP we can access them from our intranet without any problem.

I would like to configure the domain controller/DNS server in a way that he answers those requests under the mycompany.com domain for which no server registered with the domain controller (i.e. because it is situated at the hosting company, not in our offices) by referring to the external DNS (of our internet access provider).
ASKER CERTIFIED SOLUTION
cdfs

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
NilsIT

ASKER
Works.
I was hoping to have a generic, less laborious solution (such as a switch for "go to public DNS if you, DNS server, don't know a URL in your domain) but the proposed solution does work well.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes