Solved

setup mx records pointing from godaddy to amazon ec2 instance

Posted on 2011-03-01
4
2,749 Views
Last Modified: 2012-05-11
I have an amazon ec2 instance using sles11 . I have setup route53 for my domain . I also have updated dns records on godaddy to point to my server hosted in amazon. Although i have mail plan with godaddy  i want to forward mails to my instance.So i have to add mx records to my configured zone in route53.Now this zone has only an A record for my domain. my question is :
1) do i have to setup a new mail server instance in amazon and create a new zone with mx records?if so i have to add mx records in my already configured instance pointing to the new mailserver ?
2)do i have to setup mail server in my already configured instance (that acts like a web server) ?
3)is there any other way to achieve that ?

Thank you !
0
Comment
Question by:stathisx
  • 3
4 Comments
 
LVL 17

Assisted Solution

by:BudDurland
BudDurland earned 100 total points
ID: 35023370
It sounds like you have two DNS servers for your domain -- Route53 and Godaddy.  Which one is the *authoritative* DNS server for your domain?  I suppose it's possible that they both are, but I suspect not.  A visit to www.dnsstuff.com or www.dnstools.com will answer that question.

Once that's resolved, you can create MX records.  Remember, MX records can only point to host names (mail.example.com), and there needs to be an 'A' record somewhere for the host.  You can have several MX records pointing to different servers, but generally speaking the servers won't forward mail back and forth unless configured to.
0
 
LVL 1

Accepted Solution

by:
stathisx earned 0 total points
ID: 35024539
hello again ,
my dns configuration is from amazon side and my dns servers are those of amazon.The solution to the problem was to add 2 mx records of godaddy mail servers to my route53 xml configuration file for my zone . so my xml zone configuration file has 1 A record for my domain and 2 mx records pointing to godaddys mail servers.

Thank you
0
 
LVL 1

Author Comment

by:stathisx
ID: 35024583
Thank you
0
 
LVL 1

Author Closing Comment

by:stathisx
ID: 35067743
Just keep in mind to validate xml code and add the mx records in the correct format (using route 53 guide)
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Resolve DNS query failed errors for Exchange
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…

758 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

20 Experts available now in Live!

Get 1:1 Help Now