Link to home
Start Free TrialLog in
Avatar of Rouchie
RouchieFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Help with DNS/MX record

I have a domain set up with the following DNS record.  In certain situations however, email is not received by the server, and instead the sender receives a Delivery Failure ():
When I test the domain name with intoDNS, I get the following errors:

MX CNAME Check
WARNING: CNAME was returned for the following MX records:
mail.mydomain.co.uk
The CNAME(s) that were returned are listed above. This is not ok per the RFCs and can cause problems including mail being lost!

MX A request returns CNAME
WARNING: MX records points to a CNAME.
CNAMEs are not allowed in MX records, according to RFC974, RFC1034 3.6.2, RFC1912 2.4, and RFC2181 10.3. The problem MX record(s) are:
mail.mydomain.co.uk points to ['mydomain.co.uk']
This can cause problems

The server is a web server that also has email server software installed, so its acting as two roles.
Here's the DNS settings.  I would be very grateful if anyone could suggest how they could be fixed.

-------------------------------------------------------------------------
mydomain.co.uk.  300  IN  SOA  ns.rackspace.com  hostmaster.rackspace.com  (
1262099971
86400
7200
604800
300
)
mydomain.co.uk.  300  IN  A  89.234.xxx.xxx
mydomain.co.uk.  300  IN  NS  ns.rackspace.com.
mydomain.co.uk.  300  IN  NS  ns2.rackspace.com.
mydomain.co.uk.  300  IN  MX  10  mail.mydomain.co.uk.
www.mydomain.co.uk.  300  IN  CNAME  mydomain.co.uk.
ftp.mydomain.co.uk.  300  IN  CNAME  mydomain.co.uk.
mail.mydomain.co.uk.  300  IN  CNAME  mydomain.co.uk.
-------------------------------------------------------------------------
ASKER CERTIFIED SOLUTION
Avatar of Alan Hardisty
Alan Hardisty
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
e.g., mail.mydomain.co.uk 300 IN A 123.123.123.123
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rouchie

ASKER

Hi Alan, that's the fastest response I've had on EE - thanks!

Let me make the changes and get back to you...
Avatar of Rouchie

ASKER

Hi guys.  Following on from both your input, here's the new record.  Does this look okay or does the MX part need altering also?

mydomain.co.uk.  300  IN  SOA  ns.rackspace.com  hostmaster.rackspace.com  (
1262107784
86400
7200
604800
300
)
mydomain.co.uk.  300  IN  A  89.234.xxx.xxx
mail.mydomain.co.uk.  300  IN  A  89.234.xxx.xxx
mydomain.co.uk.  300  IN  NS  ns.rackspace.com.
mydomain.co.uk.  300  IN  NS  ns2.rackspace.com.
mydomain.co.uk.  300  IN  MX  10  mail.mydomain.co.uk.
www.mydomain.co.uk.  300  IN  CNAME  mydomain.co.uk.
ftp.mydomain.co.uk.  300  IN  CNAME  mydomain.co.uk.
Sorry about that - always happy to respond quickly if physically able to.  Glen - you gotta be faster!
Alan
Avatar of Rouchie

ASKER

I'm guessing these changes might take a couple of hours to filter into the intoDNS checks, so I'll leave for a while and run the test again later...

Thanks again.
Yes - they will take a while to ripple around the world  24-48 hours usually, but that looks a whole lot better.
Check on http://www.mxtoolbox.com/diagnostic.aspx - it should query live info and should come back okay,
Looks good! It can take upto 48 hours on some systems but your more likely to see it working within a few hours.
Sorry Alan but I am at a distinct disadvantage can only type on the iPhone with a maximum of 2 thumbs!!

Either way it looks like the author is sorted and that's the important thing!
Author > please don't award any points for my posts alanhardisty already had it covered I was just too slow off the mark! :-)
Avatar of Rouchie

ASKER

Thanks.  I'll split the points in favour of alanhardisty, as it was useful to have additional clarification.
Anyway there'll be another question to follow shortly... :-/