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
212 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
  • 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 70

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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 70

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

New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

Join & Write a Comment

There have been a lot of times when we have seen the need to enter a large number of DNS entries in a forward lookup zone. The standard procedure would be to launch the DNS Manager console, create the Zone and start adding new hosts using the New…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

706 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now