• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 271
  • Last Modified:

Exchange and DNS problem, email is not working.

Hi Experts,

Let me take a minute to describe my network.  I have two Windows 2003 servers, one is an Exchange 2003 server and the other is a Domain Controller.   All computers on the network are running behind my router/firewall in a private ip address range.  I only have one public ip address which is configured on my router along with my ISPs DNS servers.  

We have a public website that we pay someone else to host for us.  Thursday morning last week we changed web host providers.  I asked our new provider to create the following records:

Record FQDN                                       Record Type                  Record Value                    MX Pref
mail.domain.com                                        A                             199.x.x.x                            
 
domain.com                                             MX                             mail.domain.com                 10


These are the same records that our former web host provider hosted when the email worked.  Our web site is back up but our email is still not working.  From my home, if I open a web browser and type the ip address\exchange I am able to reach our email server through OWA.  

I know this is a DNS problem but how do I fix it?  If I do a nslookup for my mail server, mail.domain.com I get back:

Non-authoritative answer:
Name:    mail.domain.com


But if I do the same for the ip address the following is returned:

Name:    mail.domain.com
Address:  199.x.x.x

How do I fix this?

Thanks Dale






0
DaleFrazier
Asked:
DaleFrazier
  • 4
  • 2
  • 2
  • +2
8 Solutions
 
Jamie McKillopIT ManagerCommented:
When you did the NSLOOKUP, did you set type=mx?

If you did an nslookup with set type=mx and your MX record was not returned, the record is not setup properly and you will need to contact your DNS administrator to get it resolved.

JJ
0
 
tigermattCommented:
First of all, you need to make sure that the DNS record for your mail.domain.com has been created correctly. Can you access your server with mail.domain.com/exchange? The mail.domain.com should be an A record pointing to your external WAN IP address, as you say.

Now, your domain.com needs to have the MX records changed so that the only MX record is mail.domain.com. MX stands for Mail Exchanger. When someone sends a mail, the sender's server looks up the MX record for domain.com, sees it is mail.domain.com, and connects through to mail.domain.com on port 25.

As JJ has said above, you need to type set type=mx at the nslookup prompt to see the MX record on your domain. So, for example:

> set type=mx
> domain.com

That will give you a prompt like: (I looked up EE's MX records)

Non-authoritative answer:
experts-exchange.com    MX preference = 1, mail exchanger = mail.experts-exchange.com

mail.experts-exchange.com       internet address = 64.156.132.251

You need to have an MX record on domain.com pointing to mail.domain.com with any cost at all, although 1, 5 and 10 are the usual settings. Once that's done, you can confirm the changes via nslookup.

-tigermatt
0
 
DaleFrazierAuthor Commented:
There appears to be an mx record but I think the associated A record might be missing or wrong.  Also, is a non-authoritative answer a bad thing????





C:\Documents and Settings\Dale>nslookup
Default Server:  server.domain.local
Address:  192.168.1.x

> set type=mx
> domain.com
Server:  server.domain.local
Address:  192.168.1.x

DNS request timed out.
    timeout was 2 seconds.
Non-authoritative answer:
domain.com     MX preference = 10, mail exchanger = mail.domain.com
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
Jamie McKillopIT ManagerCommented:
I looks like your DNS zone may not have been properly transferred to your new host provider. I would recommend going to dnsstuff.com and running some reports to see if there is a problem with your domain.

JJ
0
 
rbkumaranCommented:
Along with dnsstuff tests,

Run a www.dnsreport.com for your domain as well. That will provide you with more insights on your NS/EMail status.
0
 
DaleFrazierAuthor Commented:
Could this be the problem,

WARNING: One or more of your MX records points to a CNAME. CNAMEs are prohibited in MX records, according to RFC974, RFC1034 3.6.2, RFC1912 2.4, and RFC2181 10.3. The problem MX record(s) are:
mail.domain.com.->199.x.x.x . domain.com.->Unknown [No A]
0
 
SembeeCommented:
Yes a CNAME would be a problem.
You need to get the MX record changed. Currently it looks like you are trying to use a wildcard on the domain rather than a specific A record. You need to change that.

In the public DNS (NOT WINDOWS) you need to create a new record of type A, name mail with your external IP address.
That will make mail.domain.com

Simon.
0
 
tigermattCommented:
Yes, the CNAME would certainly be causing the problem, you'll need to get the MX record changed with your host so that it points to the external WAN IP address of your network as an A record, not a CNAME.

-tigermatt
0
 
DaleFrazierAuthor Commented:
You have to transfer a dns zone?  All I did was change the dns servers with my domain registrar.  Like I said the web site is up.  Also this info,

Your 1 MX record is:

10 mail.domain.com. [TTL=1800] IP=Unknown [CNAME]

0
 
SembeeCommented:
I think the problem here is quite simple. Your new hosting company did not do what you asked. Phone them up and ask them to correct it.

Simon.
0
 
rbkumaranCommented:
If I'm right the
"mail" is a CNAME pointing to your default domain but there isn't an A record for the default domain??? Sorry if My assumption is wrong.

As tigermatt said, add a A record for MAIL and that should fix your problem (provided NS are correct)
0
 
DaleFrazierAuthor Commented:
I called my provider.  I agree it is the A record.  
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 4
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now