DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS
The ASP Free website provides in-depth information on the latest developer tools available from Microsoft. Our cadre of writers, highly experienced industry experts, reveals the best ways to use established technologies as well as new and emerging technologies. Our coverage of Microsoft's development and administration technologies is among the most respected in the IT industry today.

ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month!
Download and Activate to enter!

Intel® Graphics Performance Analyzers is a powerful tool suite for analyzing and optimizing your games, media, and graphics-intensive applications. Used by some of the best developers on the planet, Intel GPA lets you maximize your app’s performance.


Tutorials
| Forums

Download to Enter
| Contest Rules

DOWNLOAD INTEL® GPA FOR FREE

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 31st, 2009, 09:27 AM
Kbalz Kbalz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 108 Kbalz User rank is Sergeant Major (2000 - 5000 Reputation Level)Kbalz User rank is Sergeant Major (2000 - 5000 Reputation Level)Kbalz User rank is Sergeant Major (2000 - 5000 Reputation Level)Kbalz User rank is Sergeant Major (2000 - 5000 Reputation Level)Kbalz User rank is Sergeant Major (2000 - 5000 Reputation Level)Kbalz User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 23 h 11 m 54 sec
Reputation Power: 39
DNS, CNAME & A Records, issues !

My email server is having trouble emailing to anyone who uses 1and1.com as an email host. the error I'm getting is that my DNS is not configured correctly

"421 invalid sender domain 'mydomain.com' (misconfigured dns?)

So I did some research, and from what I gathered - 1and1 won't accept your emails if your RDNS for your email record is a CNAME, they expect your mail record to be an A Record.

Here is my current dns setup:

MX record: mail
CNAME Record: Host: mail, Reference: www
A Record: www IPs: xx.xx.xx.xx, yy.yy.yy.yy

I have lots of questions before I go flipping switches!

1. Does having a CNAME mail record truely pose a problem for 1and1, or am I misreading the problem?

2. Can I have two A records pointing to the same IP like this:
MX record: mail
A Records: Host: Mail, IPs: xx.xx.xx.xx, yy.yy.yy.yy
Host: www, IPs, xx.xx.xx.xx, yy.yy.yy.yy

or do I need to make www a CNAME pointing to mail?

3. If I do need to switch from CNAME to A, what is the BEST way to do this? Do I delete the CNAME after I add the A? Should I have both for a bit while the change propagates?


4. I have a SPF txt record, could this be the problem as well? My Google mail accepts the SPF as good.

Thanks for any responses!

Reply With Quote
  #2  
Old July 31st, 2009, 10:38 AM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Jan 2005
Location: Florida
Posts: 4,960 hiker User rank is General 60th Grade (Above 100000 Reputation Level)hiker User rank is General 60th Grade (Above 100000 Reputation Level)hiker User rank is General 60th Grade (Above 100000 Reputation Level)hiker User rank is General 60th Grade (Above 100000 Reputation Level)hiker User rank is General 60th Grade (Above 100000 Reputation Level)hiker User rank is General 60th Grade (Above 100000 Reputation Level)hiker User rank is General 60th Grade (Above 100000 Reputation Level)hiker User rank is General 60th Grade (Above 100000 Reputation Level)hiker User rank is General 60th Grade (Above 100000 Reputation Level)hiker User rank is General 60th Grade (Above 100000 Reputation Level)hiker User rank is General 60th Grade (Above 100000 Reputation Level)hiker User rank is General 60th Grade (Above 100000 Reputation Level)hiker User rank is General 60th Grade (Above 100000 Reputation Level)hiker User rank is General 60th Grade (Above 100000 Reputation Level)hiker User rank is General 60th Grade (Above 100000 Reputation Level)hiker User rank is General 60th Grade (Above 100000 Reputation Level)  Folding Points: 33832 Folding Title: Starter FolderFolding Points: 33832 Folding Title: Starter Folder
Time spent in forums: 3 Months 1 Week 5 Days 23 h 1 m 33 sec
Reputation Power: 4967
Quote:
1. Does having a CNAME mail record truely pose a problem for 1and1, or am I misreading the problem?

Having a CNAME shouldnt pose a problem, although CNAME's aren't really used as much anymore.

Quote:
2. Can I have two A records pointing to the same IP like this:
MX record: mail
A Records: Host: Mail, IPs: xx.xx.xx.xx, yy.yy.yy.yy
Host: www, IPs, xx.xx.xx.xx, yy.yy.yy.yy

or do I need to make www a CNAME pointing to mail?

You can have as many A records as you like pointing to the same IP address. An A record is an Address record... points a domain / subdomain to an IP address.

Quote:
3. If I do need to switch from CNAME to A, what is the BEST way to do this? Do I delete the CNAME after I add the A? Should I have both for a bit while the change propagates?

Create the A record, delete the CNAME. Although, it really sholdn't matter either way. If this is a dedicated server, or your own server, you'll be required to restart the DNS service.

Quote:
4. I have a SPF txt record, could this be the problem as well? My Google mail accepts the SPF as good.

Probably not an SPF record problem. In the message that is being returned to you, does it mention anything about mail headers... who it's from, etc? If it shows as user@xxx.xxx.xxx.xxx, then your problem is probably an RDNS problem of sorts.
Comments on this post
Kbalz agrees!

Reply With Quote
  #3  
Old August 1st, 2009, 01:28 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 18th Plane (13500 - 13999 posts)
 
Join Date: Jun 2003
Posts: 13,737 Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level)Doug G User rank is General 47th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 3 Weeks 3 Days 6 h 39 m 9 sec
Reputation Power: 4107
You don't want your mx record pointing to a cname, so yes, delete the existing mail cname and create a host record for mail. Here's a bit of information why not to use cnames for mx

http://support.microsoft.com/kb/153001
Comments on this post
Kbalz agrees!
__________________
======
Doug G
======
It is a truism of American politics that no man who can win an election deserves to. --Trevanian, from the novel Shibumi

Reply With Quote
  #4  
Old August 3rd, 2009, 03:24 PM
Kbalz Kbalz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 108 Kbalz User rank is Sergeant Major (2000 - 5000 Reputation Level)Kbalz User rank is Sergeant Major (2000 - 5000 Reputation Level)Kbalz User rank is Sergeant Major (2000 - 5000 Reputation Level)Kbalz User rank is Sergeant Major (2000 - 5000 Reputation Level)Kbalz User rank is Sergeant Major (2000 - 5000 Reputation Level)Kbalz User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 23 h 11 m 54 sec
Reputation Power: 39
Thanks for your posts,

After switching from CNAME to A record, emails no longer got denied!


As a side note, a great way to test SPF I found was to send an email to spf-test@openspf.org - their mail server will deny your mail (on purpose) but the header of the email will contain SPF diagnoses.

My SPF was good, the record was the problem

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > DNS, CNAME & A Records, issues !


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 4 - Follow our Sitemap