Virtual DNS - HELP !!!

I have apache working correctly (I think) I'm having trouble knowing where/how to setup Virtual DNS - I want to setup CNAME for all of my e-mail users to match the domain name that they own - but i want to server this up off of 1 linux box using one IP address.  I have the domain names routiong correctly - now i want them to pop there e-mail down using there own domain name.  Where do i add these CNAME records and will i need seperate MX records for each domain name ??


leon3837Asked:
Who is Participating?
 
cReverdConnect With a Mentor Commented:
Hi,

First of all you can easily have several services (mail, dns, web, ftp, and so on..) wherever you want on only one computer and/or dispatched on several ones.

In this case you just have to set up as many domain.com.dns zones as you manage domain names.

In my example :

Let master.com be your master domain
and secondary.com your second one.

master.com zone is defined as :

@     NS ...
@     NS ...
mail  IN A 254.254.254.254 (your IP)

secondary.com is defined as :

@     NS ...
@     NS ...
@     IN MX 10 mail.master.com
pop   IN CNAME mail.master.com

Don't forget to set up your mail server with a (Qmail) /var/qmail/control/rcpthost filled with full qualified domain names list to activate mail handling.

From your clients side it will appear as pop.secondary.com computer host.

Hope it helps. Sorry for my english.. ;-)

Christophe Reverd
Xon-Xoff, Paris.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.