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... |
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.
|
Hello,
Have a look at this book, I'm sure it will help you in solving your problem. Kind regards, Eric |
My question actually also is how my DNS-server knows about the virtual hosts on the webserver ?!
|
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 |
Quote:
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. |
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 04:04 PM. |