The zone setup for a DNS entry is domainname1.com or domainname2.com and all entries that are specifically related directly to that domain MUST appear in that domain zone.
For example: mail.domainname1.com MUST be in the domainname1.com's zone but, the MX record for domainname2 can point back to mail.domainname1.com EXAMPLE Zone for domainname1.com CNAME (same as parent) 10.1.1.23 CNAME www 10.1.1.23 A mail 10.1.1.27 Zone for domainname2.com CNAME 10.1.1.27 MX mail.domainname1.com This will route email addressed to [EMAIL PROTECTED] to the mail server located at mail.domainname1.com Trent ----------- Trent M. Davenport - Systems Administrator Northern Television Systems Ltd - WHTV 203-4103 4th Avenue, Whitehorse, YT Y1A 1H6 (867) 393-2225 X204, (867) 393-2224 FAX www.whtvcable.com <http://www.whtvcable.com> ( [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of David Setzer Sent: April 5, 2002 1:07 PM To: [EMAIL PROTECTED] Subject: Re: [IMail Forum] OT: DNS MX & CNAME Hi Trent, Yes, you're close, let me try to clarify: > If I understand correctly, this is what you are looking for: > > DNS settings for domainname.com domainname2.com > CNAME (same as parent) {IP address of web server} > CNAME www {IP address of web server} As I understand CNAME is in the form of "domain1.com", and can't be IP > A mail {IP address of mail server} Yes > MX mail.domainname.com {this will reference the A record above for the IP > address} Yes but not domainname1.com, should be domainname2.com (the A record just referenced above) However, MS DNS will NOT let me put the first CNAME and the MX for mail.domainname2.com in the domainname2.com record together. It will let me put MX domainname1.com and the first CNAME in the record together. > > That way when someone sends mail to domainname.com, it knows where the > server is. If someone goes to www.domainname.com it goes to the web server. Web to be aliased to domainname1.com (this way if user types www.domainname2.com then "http://domainname2.com/anyotherpages.asp" shows up in their browser and not http://www.domainname1.com) and mail to the A record for mail.domainname2.com. David Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Please visit the Knowledge Base for answers to frequently asked questions: http://www.ipswitch.com/support/IMail/ Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Please visit the Knowledge Base for answers to frequently asked questions: http://www.ipswitch.com/support/IMail/
