LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need basic DNS-lesson (https://www.linuxquestions.org/questions/linux-newbie-8/need-basic-dns-lesson-773229/)

jonaskellens 12-03-2009 11:00 AM

Need basic DNS-lesson
 
I have a local domain, with a local DNS-server (ClarkConnect SBS) running on the GREEN zone. I also have a ORANGE zone where there is a multi-tenant test-webserver running.

Now... my domain is jocan.local. DNS is clarkconnect.jocan.local. GREEN network is 192.168.1.0

ORANGE network is 192.168.2.0. 192.168.2.3 is the webserver. webserver.jocan.local resolves greatly to 192.168.2.3.

An Endian-firewall is what separates me from the public internet.

My multi-tenant webserver is ISPConfig 3.

Here I have the option to make a domain. So I make the domain tryout.local, with prefix www.

Question : how do I make www.tryout.local resolve to 192.168.2.3/virtual-host-tryout ???

What do I need to change in my ClarkConnect DNS-server (holds the A-records for jocan.local) and what do I need to do in my ISPConfig-webserver (is no authorative DNS-server, has no records)

In my opinion webserver.jocan.local needs to hold the records for tryout.local (and virtual host 'www'), but how does my ClarkConnect-DNSserver knows it needs to forward DNS-requests for tryout.local to webserver.jocan.local ????

Need some DNS-lessons here...

janoszen 12-03-2009 02:22 PM

Users
 
Well, your users use some sort of resolver. If this resolver is a recursor itself, you need to see its configuration for any exceptions. Mostly I recommend using delegated DNS from a publicly recursable zone (local.mydomain.net for example) in order to facilitate such needs. Saves you from a lot of headaches.

EricTRA 12-03-2009 02:27 PM

Hello,

Have a look at this book, I'm sure it will help you in solving your problem.

Kind regards,

Eric

jonaskellens 12-04-2009 03:00 AM

My question actually also is how my DNS-server knows about the virtual hosts on the webserver ?!

EricTRA 12-04-2009 03:28 AM

Hallo Jonas,

Have a look here at this site. It lists the procedure to create a virtual domain and point it to another domain. The procedure is when using a webmin interface but I'm sure you'll find how to use it on your setup.

Kind regards,

Eric

jonaskellens 12-04-2009 10:55 AM

Quote:

Originally Posted by EricTRA (Post 3779401)
Hallo Jonas,

Have a look here at this site.

Thank you !

Have you come across a good tutorial that explains a bit more about webhosting ? It is not my core business but it would be good to have to me explained how ISP's and webhosting companies do their DNS-management.

It can't be as simple as editing pointer-records of the main DNS-authority of the country. In Belgium for instance it's dns.be.

EricTRA 12-04-2009 11:14 AM

Hallo Jonas,

You're welcome. In fact as I understand it, it just does come down to editing the pointer records.

Kind regards,

Eric


All times are GMT -5. The time now is 02:44 PM.