Solved

How do I modify the DNS records when a site is hosted on one IP and the mail is on a different IP?

Posted on 2009-05-13
6
230 Views
Last Modified: 2013-11-30
Here is my situation: I have been hosting the website and mail for a local car dealership. The manufacturer (GM) is forcing the dealerships to a common website platform hosted by a single company named Cobalt, but they only host the website, not the email. The dealership wants my company to continue hosting the mail with the same domain name as before. Cobalt's support will only communicate with the dealership in writing. I need to have the dealership tell Cobalt support specifically how to modify the DNS records so that the email  routes to my server. So, do I need to have the A record for Mail modified to point at my servers IP, or do I need to have the MX record modified to point at mail servers domain name? Or a combination of the two? I am fuzzy on how it should be done since there is both a Mail A record, and a Mail MX record? When do you use which, or both?
0
Comment
Question by:danelson4406
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 20

Accepted Solution

by:
wolfcamel earned 25 total points
ID: 24374573
you should have an A record for mail.company.com and an MX record that points to mail.company.com

then you just need to change the A Ip address to point to your server.


You could have the MX point to the IP and it would appear to work, but this is badpractice and many mail servers wont send/receive with you if that is the case.
0
 
LVL 71

Assisted Solution

by:Chris Dent
Chris Dent earned 25 total points
ID: 24374583

Normally you have this:

yourdomain.com.    IN MX  10   mail.yourdomain.com.

You might not see the "yourdomain.com." part in your view, it might be blank, or it might be @, both are valid.

The MX record must point to an A record so with that we would have:

mail.yourdomain.com.  IN A   1.2.3.4

The name used above, mail, is made up. It can be any legal name in DNS.

Keeping those separate from any names used for web pages keeps life nice and easy and neat.

If a domain doesn't have an MX Record a sending system will attempt to deliver mail to the IP address for the domain name. That looks like this:

yourdomain.com.   IN A   1.2.3.4
Or
@  IN A  1.2.3.4

This is a fall-back only, it will only ever be used if no MX Record exists.

Chris
0
 
LVL 20

Expert Comment

by:wolfcamel
ID: 24374598
They should only need to cange the www record to point to them. I assume tht COBA:T is also managing the DNS as well
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
LVL 71

Expert Comment

by:Chris Dent
ID: 24374633

I concur with wolfcamel, but wouldn't be surprised to see a change to the host record for "yourdomain.com" as a requirement as well. Neither will effect mail delivery if an MX record is present.

Chris
0
 

Author Comment

by:danelson4406
ID: 24376171
To wolfcamel: Your assumption is correct. Cobalt is managing the DNS, and the domain name as well.
0
 

Author Closing Comment

by:danelson4406
ID: 31580960
Thanks for the assistance. I submitted the suggested DNS changes through the local auto dealership (in writing) to the hosting company. Email started flowing properly.  
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses
Course of the Month8 days, 11 hours left to enroll

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question