Is this just primary domains, or subdomains too? If I have SPF/MX established for mydomain.invalid do I also need such records for blog.mydomain.invalid or mail.mydomain.invalid too?
Conversation
Many things for sub-domains should percolate up to parent domains with these records.
Emphasis on “should”.
1
2
You need to add the NULL MX and SPF records alongside every A and AAAA record. DMARC applies to subdomains unless they provide their own policy. Just make sure not to have a permissive policy for subdomains via the sp parameter. SPF hardly does anything. It's DMARC that matters.
1
1
3
DMARC requires valid, aligned SPF / DKIM. The policy specifies what to do when it fails to pass. A p=reject policy will prevent spoofed emails from the domain to providers enforcing DMARC. SPF itself doesn't stop spoofing since it does not need to be aligned with the FROM header.
2
1
3
Also, hardly anyone enforces SPF even with a hard fail policy, but it's not particularly relevant since it doesn't have to be aligned. SPF will pass with a spoofed FROM header as long as MAIL FROM (relay) passes. DMARC is what makes SPF and DKIM actually function properly.
2
1
2
In order of importance: set up DMARC and then set up DNSSEC. Fill in the NULL MX records and SPF records for every A and AAAA record if you want to go the extra mile. It's much less important than the baseline. DMARC will still reject spoofed mail without having an SPF record.
2
1
2
I agree that null MX is a good thing.
But I think it is only needed for domains that are having unauthorized email sent on their behalf.
DMARC makes it easier to identify these domains. At least from recipients that participate in DMARC.
1
I think you're misunderstanding the purpose of null MX. It declares that the domain doesn't receive email. It doesn't forbid sending mail. It can still be used to send email that passes DMARC verification via either a valid and aligned DKIM signature or valid and aligned SPF.
1
I’m aware of the difference.
If I have control of my DNS, and the firewalls / daemons in the A / AAAA records that don’t have a null MX, and MXs for the parent names are properly configured to not handle mail for child domains, then what is the effective difference?
1
Email for child names is still not going to come in.
So I don’t see a need for a null MX other than to indicate to others to not send email to the domain.
I’m not aware of a sufficient number of receiving servers rejecting email if they can’t send to the purported source.
2
Again, you're misunderstanding the purpose of null MX. It announces that a host does not receive email. It is not about sending email. The purpose of null MX is so that a mail server can immediately see that it cannot send email to that host. It doesn't need to keep retrying.
The RFCs recommends that mail servers attempt to send email repeatedly over a substantial period of time if they get a soft failure. Attempting to connect to a mail server via the A or AAAA record and not finding one is a soft failure. It could just be temporarily down.
2
The purpose of null MX is to immediately inform the sender that they CANNOT send mail to the host. They should not keep trying to do it repeatedly as they would normally be expected to do. It's not an anti-spoofing mechanism. It's not about sending mails. It allows fast fail.
2
Show replies
I know that the null MX announces that hosts don’t receive email.
But what I’m challenging is what good does that actually do?
There are many other ways to make a host not receive email.
1
How it is done, null MX or firewall, doesn’t matter, the host still doesn’t receive email.
The “so that a mail server can immediately see that it cannot send email … so it doesn’t keep trying” is an optimization for the sender.
It actually makes little, if any, effective difference for the would be recipient.
1
The only net gain for the null MX that I see for the domain owner is that it makes them appear as a better netezine.
It doesn’t actually change their email volume.
1
Show replies


