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
215 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Resolve DNS query failed errors for Exchange
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

911 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

21 Experts available now in Live!

Get 1:1 Help Now