nexsysit
asked on
Proper DNS and MX Record Setup for seperate Website and Email
I have my domain name hosted with godaddy.com; I am trying to setup the DNS Control so that my website points to the website hosting company and mx record points to my exchange server (Small business server 2003).
66.210.170.100 -> Web Hosting Company
A (Host)
Host Points To TTL
@ 66.210.170.100 3600 Edit Delete
intranet.mydomain.com 70.91.216.122 3600 Edit Delete
smtp.mydomain.com 70.91.216.122 3600 Edit Delete
mail.mydomain.com 70.91.216.122 3600 Edit Delete
exchange.mydomain.com 70.91.216.122 3600 Edit Delete
CNAMES (Aliases)
Alias Points to TTL
www @ 3600 Edit Delete
ftp @ 3600 Edit Delete
MX (Mail Exchangers)
Priority Host Goes to TTL
0 @ mail.mydomain.com 3600
TXT (Text)
I DID HAVE: - v=spf1 a mx:mail.mydomain.com -all ; had it removed... see below
Did I have this setup correctly?
ISSUE #1: Emails are stuck in Small Business SMTP Connector for msamortgage.com, other domains go through with no problems... ran a dnsreport on that domain and it failed several categorgies, had another email that was sent back to sender that stated:
There was a SMTP communication problem with the recipient's email server. Please contact your system administrator. <mydomain.com #5.5.0 smtp;554 This server requires you to send from an IP address specified by the SPF for mydomain.com.>
ISSUE #2: Warning after running check on dnsreport.com -
Mail server host name in greeting
"mail.mydomain.com claims to be host mydomain.com [but that host is at 66.210.170.100 (may be cached), not 70.91.216.122].
-------------------------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- -------
After I removed the SPF record, the emails were no longer stuck in the smtp connector queue and email no longer bounced back.
66.210.170.100 -> Web Hosting Company
A (Host)
Host Points To TTL
@ 66.210.170.100 3600 Edit Delete
intranet.mydomain.com 70.91.216.122 3600 Edit Delete
smtp.mydomain.com 70.91.216.122 3600 Edit Delete
mail.mydomain.com 70.91.216.122 3600 Edit Delete
exchange.mydomain.com 70.91.216.122 3600 Edit Delete
CNAMES (Aliases)
Alias Points to TTL
www @ 3600 Edit Delete
ftp @ 3600 Edit Delete
MX (Mail Exchangers)
Priority Host Goes to TTL
0 @ mail.mydomain.com 3600
TXT (Text)
I DID HAVE: - v=spf1 a mx:mail.mydomain.com -all ; had it removed... see below
Did I have this setup correctly?
ISSUE #1: Emails are stuck in Small Business SMTP Connector for msamortgage.com, other domains go through with no problems... ran a dnsreport on that domain and it failed several categorgies, had another email that was sent back to sender that stated:
There was a SMTP communication problem with the recipient's email server. Please contact your system administrator. <mydomain.com #5.5.0 smtp;554 This server requires you to send from an IP address specified by the SPF for mydomain.com.>
ISSUE #2: Warning after running check on dnsreport.com -
Mail server host name in greeting
"mail.mydomain.com claims to be host mydomain.com [but that host is at 66.210.170.100 (may be cached), not 70.91.216.122].
--------------------------
After I removed the SPF record, the emails were no longer stuck in the smtp connector queue and email no longer bounced back.
your MX record should point to mail or exchange or intranet or smtp.mydomain.com
it would help me allot if you supplied your "domain" so i can have a look at the setup using www.kloth.net and http://www.dnsreport.com/
regards.
regards.
You should have SPF records for your domain as well as each mail server.
@ TXT "v=spf1 a mx -all"
mail.mydomain.com TXT "v=spf1 a mx -all"
@ TXT "v=spf1 a mx -all"
mail.mydomain.com TXT "v=spf1 a mx -all"
an example:
{Server1} role: WWW IP:172.125.12.100
{Server2} role: Intranet IP:83.232.12.199
{Server3} role: exchange IP:83.232.12.198
{Server4} role: backup Mail relay provider IP 172.125.12.198
DNS example (public)
www.mycomp.com (A) 172.135.12.100
mail1.mycomp.com (MX) 50 83.232.12.198
mail2.mycomp.com (MX) 100 172.125.12.198
intra.mycorp.com (A) 83.232.12.199
owa.mycorp.com (CNAME) mail1.mycopr.com
Regards,
{Server1} role: WWW IP:172.125.12.100
{Server2} role: Intranet IP:83.232.12.199
{Server3} role: exchange IP:83.232.12.198
{Server4} role: backup Mail relay provider IP 172.125.12.198
DNS example (public)
www.mycomp.com (A) 172.135.12.100
mail1.mycomp.com (MX) 50 83.232.12.198
mail2.mycomp.com (MX) 100 172.125.12.198
intra.mycorp.com (A) 83.232.12.199
owa.mycorp.com (CNAME) mail1.mycopr.com
Regards,
ASKER
Hi,
I should have stated that I have 1 server; Small business server2003 for (intranet, exchange, and remote access); except public web server (website is hosted by another company).
which is why I want to point the @ to the webhosting company and mx to my ip address for email; but this generates a warning on dnsreport.com for my domain (humblehomemtg.com)
Mail server host name in greeting
"mail.humblehomemtg.com claims to be host humblehomemtg.com [but that host is at 66.210.170.100 (may be cached), not 70.91.216.122].
Reply 1:
The MX record does point to mail.humblehomemtg.com;
Reply 2:
mydomain=humblehomemtg.com ;
emails where stuck in the smtp connector when sending to msamortgage.com
emails where bounced back after sending email to user@gumption.biz with the error message
"There was a SMTP communication problem with the recipient's email server. Please contact your system administrator. <mydomain.com #5.5.0 smtp;554 This server requires you to send from an IP address specified by the SPF for mydomain.com.>"
I did a dnsreport on the two domains above and they had numerous failed sections.
Reply3:
I didn't have a SPF record for the domain; only the mailserver, will add one for the domain and try again...
v=spf1 a mx:mail.humblehomemtg.com -all
-------------------------- ---------- --------
I wasnt sure if why the emails were stuck in the smtp connector (for msamortgage.com and bounced back by gumption.biz); I figured it was because I did not set up the DNS properly or it was an issue with the SPF verification on the destination emails.
Also when I did a dnsreport on my domain (humblehomemtg.com); there was the warning
Mail server host name in greeting
"mail.humblehomemtg.com claims to be host humblehomemtg.com [but that host is at 66.210.170.100 (may be cached), not 70.91.216.122].
which is what lead to me to believe that I did not properly set up the A record and CNames...
I removed the SPF record from DNS on godaddy.com for my domain and 15-20mins later the emails went through to msamortgage.com and no bounce back from user@gumption.biz.
which leads me to believe that the domains msamortgage.com and gumption.biz are not setup properly (a few failures and no spf record setup)
So i guess the quesiton is
Did I properly setup the DNS settings?
Should I add the SPF records back or leave them out?
Thanks for everyone's time and input...
I should have stated that I have 1 server; Small business server2003 for (intranet, exchange, and remote access); except public web server (website is hosted by another company).
which is why I want to point the @ to the webhosting company and mx to my ip address for email; but this generates a warning on dnsreport.com for my domain (humblehomemtg.com)
Mail server host name in greeting
"mail.humblehomemtg.com claims to be host humblehomemtg.com [but that host is at 66.210.170.100 (may be cached), not 70.91.216.122].
Reply 1:
The MX record does point to mail.humblehomemtg.com;
Reply 2:
mydomain=humblehomemtg.com
emails where stuck in the smtp connector when sending to msamortgage.com
emails where bounced back after sending email to user@gumption.biz with the error message
"There was a SMTP communication problem with the recipient's email server. Please contact your system administrator. <mydomain.com #5.5.0 smtp;554 This server requires you to send from an IP address specified by the SPF for mydomain.com.>"
I did a dnsreport on the two domains above and they had numerous failed sections.
Reply3:
I didn't have a SPF record for the domain; only the mailserver, will add one for the domain and try again...
v=spf1 a mx:mail.humblehomemtg.com -all
--------------------------
I wasnt sure if why the emails were stuck in the smtp connector (for msamortgage.com and bounced back by gumption.biz); I figured it was because I did not set up the DNS properly or it was an issue with the SPF verification on the destination emails.
Also when I did a dnsreport on my domain (humblehomemtg.com); there was the warning
Mail server host name in greeting
"mail.humblehomemtg.com claims to be host humblehomemtg.com [but that host is at 66.210.170.100 (may be cached), not 70.91.216.122].
which is what lead to me to believe that I did not properly set up the A record and CNames...
I removed the SPF record from DNS on godaddy.com for my domain and 15-20mins later the emails went through to msamortgage.com and no bounce back from user@gumption.biz.
which leads me to believe that the domains msamortgage.com and gumption.biz are not setup properly (a few failures and no spf record setup)
So i guess the quesiton is
Did I properly setup the DNS settings?
Should I add the SPF records back or leave them out?
Thanks for everyone's time and input...
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.