Proper DNS and MX Record Setup for seperate Website and Email

Posted on 2006-10-19
Last Modified: 2013-11-30
I have my domain name hosted with; 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). -> Web Hosting Company

A (Host)
Host                                        Points To             TTL
@                            3600 Edit  Delete 3600 Edit  Delete 3600 Edit  Delete 3600 Edit  Delete 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                   @                 3600

TXT (Text)

I DID HAVE:    - v=spf1 a -all ; had it removed... see below

Did I have this setup correctly?

ISSUE #1: Emails are stuck in Small Business SMTP Connector for, 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. < #5.5.0 smtp;554 This server requires you to send from an IP address specified by the SPF for>

ISSUE #2: Warning after running check on -
Mail server host name in greeting

" claims to be host  [but that host is at (may be cached), not].

After I removed the SPF  record, the emails were no longer stuck in the smtp connector queue and email no longer bounced back.
Question by:nexsysit
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

Expert Comment

ID: 17769999
your MX record should point to mail or exchange or intranet or
LVL 10

Expert Comment

ID: 17770000
it would help me allot if you supplied your "domain" so i can have a look at the setup using and


Expert Comment

ID: 17770083
You should have SPF records for your domain as well as each mail server.

@                              TXT "v=spf1 a mx -all"    TXT "v=spf1 a mx -all"
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 10

Expert Comment

ID: 17770128
an example:

{Server1} role: WWW IP:
{Server2} role: Intranet IP:
{Server3} role: exchange IP:
{Server4} role: backup Mail relay provider IP

DNS example (public) (A) (MX) 50 (MX) 100 (A) (CNAME)


Author Comment

ID: 17770909

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 for my domain (

Mail server host name in greeting

" claims to be host  [but that host is at (may be cached), not].

Reply 1:
The MX record does point to;

Reply 2:;
emails where stuck in the smtp connector when sending to
emails where bounced back after sending email to with the error message

"There was a SMTP communication problem with the recipient's email server. Please contact your system administrator. < #5.5.0 smtp;554 This server requires you to send from an IP address specified by the SPF for>"

I did a  dnsreport on the two domains above and they had numerous failed sections.

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 -all

I wasnt sure if why the emails were stuck in the smtp connector (for and bounced back by; 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 (; there was the warning

Mail server host name in greeting

" claims to be host  [but that host is at (may be cached), not].
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 for my domain and 15-20mins later the emails went through to and no bounce back from

which leads me to believe that the domains and 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...

LVL 10

Assisted Solution

srgilani earned 250 total points
ID: 17771518
make sure the FQDN in exchange is the same as the mx record for the domain.
by default the FQDN is set to be the same as the hostname (or domain name).

Change it on the property page of the SMTP Virtual Server in Exchange System Manager. Select the
"Delivery" tab and then click the "Advanced" button. Put the correct
name into the "Fully-qualified domain name" edit box. (the same as the mx record)

Accepted Solution

nitadmin earned 250 total points
ID: 17778817
Do exactly what srgilani has suggested in his message above. He is absolutely correct.

Also another thing you should do is to contact your ISP and ask them to change PTR record for the ip address of your exchange server. The public ip address of your Exchange Server should resolve to, when you do a Reverse DNS Lookup on the ip address. To do this, your ISP, which owns the public ip, addresses needs to change the PTR record in their DNS server reverse lookup zone.

Another this your should do is correctly configure spf using TXT record.

Here is a link to a web site that assist you in creating sfp TXT record.


Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

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…
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Internet Business Fax to Email Made Easy - With  eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Here's a very brief overview of the methods PRTG Network Monitor ( 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…

735 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