LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-03-2009, 11:00 AM   #1
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 688

Rep: Reputation: 34
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...

Last edited by jonaskellens; 12-03-2009 at 11:01 AM.
 
Old 12-03-2009, 02:22 PM   #2
janoszen
Member
 
Registered: Oct 2009
Location: Budapest
Distribution: Mostly Gentoo, sometimes Debian/(K)Ubuntu
Posts: 143

Rep: Reputation: 22
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.
 
Old 12-03-2009, 02:27 PM   #3
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

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

Kind regards,

Eric
 
Old 12-04-2009, 03:00 AM   #4
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 688

Original Poster
Rep: Reputation: 34
My question actually also is how my DNS-server knows about the virtual hosts on the webserver ?!
 
Old 12-04-2009, 03:28 AM   #5
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
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
 
Old 12-04-2009, 10:55 AM   #6
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 688

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by EricTRA View Post
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.
 
Old 12-04-2009, 11:14 AM   #7
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hallo Jonas,

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

Kind regards,

Eric
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic DNS/Bind question chess Linux - Server 3 10-06-2006 09:25 AM
Basic DNS/DHCP question sporkfish Linux - Networking 5 07-14-2004 07:30 PM
Need some basic knowledge on how DNS work davidas Linux - Newbie 17 05-31-2004 07:02 PM
How to configure a basic DNS server? kikis Linux - Newbie 1 05-06-2004 09:51 PM
Setting up basic DNS .... how to? Neorio Linux - Networking 3 06-04-2003 02:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration