Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

resolve external child domain

Posted on 2014-02-25
14
Medium Priority
?
474 Views
Last Modified: 2014-02-26
Hi, hopefully someone can help with this.

We have a few domains all hosted externally on the same ip. If i browse to any of them externally everything is fine, if i try to browse to them from the LAN only the parent domain resolves, all the others are blank. ( i can resolve www.school.com but not www.child.school.com)

Things are a little mixed up as we have our own exchange server which uses the same domain name as our externally hosted website, lets call it for this purpose school.com. To overcome any mail issues ect we have a lookup zone called school.com this zone holds 'A records' for school.com which it resolves to the hosting IP, and webmail.school.com which points to our exchange servers, and www which resolves to the externally hosted website '80.10.1.56' for example.

When i try to add either a 'A record' or a CNAME to this zone it makes no difference. For example a CNAME which points child.school.com to school.com. The parent will resolve on the internal DNS fine but the child won't

Am i barking up the wrong tree here? Any help would be greatly appreciated.
0
Comment
Question by:PTemporal
[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
  • 7
  • 5
  • 2
14 Comments
 
LVL 31

Expert Comment

by:Frosty555
ID: 39886765
Since your internal domain is also "school.com", the problem is that when you try to resolve "www.child.school.com" from within your internal network, the name resolution is being done by your domain controller, and NOT the public nameservers provided by your webhost.

This is called a "split DNS".  It is a supported configuration and is particularly useful when creating SSL certificates for the Exchange server.

The simplest solution is simply to add the necessary DNS records to your domain controller's DNS service by using the dnsmgmt.msc console. If you don't have many records, you can just keep your public nameserver's records and your internal domain controller's records in sync manually.

Chances are your domain controller already has an A record defined for "www", which is why it resolves but nothing else does.
0
 

Author Comment

by:PTemporal
ID: 39886773
Thanks for the quick response Frosty.

I will try this in the morning. Split DNS sounds messy, can you suggest a better way to set this up?
0
 
LVL 31

Expert Comment

by:Frosty555
ID: 39886787
I know Split DNS sounds messy, but it's the best way to do it. Overall it is a small amount of manual work, and your webserver public IP addresses probably aren't going to change too often.

Don't try going down the tempting path of trying to make the domain controller forward requests to your public nameservers.

Some networks have a different internal domain from their external domain, e.g. your internal domain would be school.local, instead of school.com. This gives you a bit more elegant control over internal vs external DNS resolution, but there are other challenges when you set the network up that way. In any case, it's a moot point because it isn't feasible for you to change your domain name, it's already been set up.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 38

Expert Comment

by:Mahesh
ID: 39886947
What is dns zone name in child domain and is it ad integrated ?

I mean do you have active directory as well ?
0
 

Author Comment

by:PTemporal
ID: 39886976
Hi There,

Yes the ad domain runs DNS on school.local the zone name is school.com. This we use for exchange as it is also school.com.

I thought i could just add an Arecord or CNAME but this doesn't seem to work.

Thanks.
0
 
LVL 38

Expert Comment

by:Mahesh
ID: 39887024
So you have only one AD domain (school.Local) and external domain (school.com) ?

On the internet you are also having child.school.com zone right ?

Now from internal network you are not able to resolve child.school.com, is that your issue ?

Just trying to understand your question 1st please

Mahesh
0
 

Author Comment

by:PTemporal
ID: 39887045
Thanks for your patience Mahesh.

We have 4 DC's three running DNS and one a rodc. From within the LAN/Domain i can resolve school.com (which is external) but i cant resolve child.school.com.

I tried adding child.school.com as an A Record and as a CNAME to the school.com zone but it still wont resolve.

The school.com and child.school.com are both hosted externally.

Yes i cant resolve child.school.com
0
 
LVL 38

Expert Comment

by:Mahesh
ID: 39887078
Ok, thanks for clarification

Your comment
( i can resolve www.school.com but not www.child.school.com)

You must create sub folder named child under school.com zone and within child sub folder you need to create www as host (A) record so that it will be resolved as www.child.school.com from internal network

Mahesh
0
 

Author Comment

by:PTemporal
ID: 39887114
Mahesh, thanks.

My appologies, what i'm saying is wrong.

I'm in the UK and at home now. I VPN'd in to check the setup.

I have the A record www and you are correct that is what i need. The issue, (apologies again) is that FQDN something.com is hosted on the same ip address and DNS (to my mind) must be trying to resolve something.com to with the zone record for www

Do i have to create a new zone for something.com?

Thanks again for your advice.
0
 
LVL 38

Accepted Solution

by:
Mahesh earned 2000 total points
ID: 39887153
Your comment:
FQDN something.com is hosted on the same ip address and DNS (to my mind)

So you mean to say that www.school.com and www.child.school.com are both having same public IP address ?

You can have multiple (Host A) records pointing to same IP
Just right click school.com zone and select new domain
There type in child and that's all
Now you can create www (host A) record under child folder
Then it will resolve that
0
 

Author Comment

by:PTemporal
ID: 39887171
Thanks i'll have a look in the morning and let you know how i get on.

thanks.
0
 

Author Comment

by:PTemporal
ID: 39888374
I've requested that this question be closed as follows:

Accepted answer: 0 points for PTemporal's comment #a39887171

for the following reason:

Working now
0
 
LVL 38

Expert Comment

by:Mahesh
ID: 39888363
Have you got the solution or not..

have you changed any thing according to my comment ?
0
 

Author Comment

by:PTemporal
ID: 39888372
Hi Mahesh,

I was led up the garden path by the web developer.

All working now, child.school.com is resolving thanks to your help.

I already accepted your contribution as the solution.
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

618 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