Why your domain name needs protection
Email was designed without any check on the sender. Any server may claim that a message comes from yourcompany.nl, and without additional records the receiving mail server has no way to disprove it. That is abused in two ways: invoices are sent or data is requested in your name, and your genuine messages end up in the spam folder more often because your domain cannot build a good reputation.
The solution consists of three DNS records that work together. They are free, they are not part of a package, and at Hostage you can set them up for every domain.
Domain protection for email is not the same as the transfer lock a registrar can put on your domain name. That lock prevents someone from transferring your domain name to another provider; it does not stop anyone from sending email in your name. That is what SPF, DKIM and DMARC are for.
SPF, DKIM and DMARC: what does what
SPF
A list of servers that are allowed to send email on behalf of your domain. If the sending server is not on that list, the recipient knows something is wrong.
Note: you may only have one SPF record per domain. If, besides Hostage, you use a newsletter service or accounting software that sends email, those must be in the same record.
DKIM
A digital signature on every message. The recipient checks the signature against the key in your DNS and so knows that the message was not altered on the way.
DKIM still works when a message is forwarded, whereas SPF can fail in that case. That is why you need both.
DMARC
Your instruction to the recipient: what should happen if SPF and DKIM do not match: nothing, quarantine, or reject. And which address the reports go to.
Without DMARC, SPF and DKIM remain advice that a recipient may ignore. This record turns them into policy.
The order in which you set them up
The order matters. If you start with a strict DMARC policy before SPF and DKIM are right, you block your own mail.
- SPF first. List everything that sends email on behalf of your domain: your mail server, and also newsletters, invoicing, forms on your website and ticketing systems. Put them all in one record.
- Then DKIM. Publish the key and check that outgoing messages are actually being signed.
-
Then DMARC at
p=none. This does not yet change how mail is handled, but you do receive reports. That shows you which senders you have overlooked. You can build the record with our DMARC record generator (Dutch-language page). -
Read the reports for a few weeks. Only when they show that all your
genuine mail passes do you tighten the policy to
p=quarantineand laterp=reject.
For most organisations, steps 3 and 4 together take four to six weeks. That is not a delay but the only safe route: you want to know what is happening before you start rejecting.
DMARC reports arrive as XML attachments and cannot be read by hand. You need an analyser for that, and it is a choice we mention deliberately: you send your reports to that party, so the question of where they are stored is the same question you ask us. We therefore point you to a Dutch provider: URIports was founded by Dutch developers, runs on its own servers in the Netherlands and has a free tier. dmarcian has a European office.
Most other well-known analysers are American. That is your choice to make (they are your
reports and they usually contain no message content), but then what we say on our page
about the US CLOUD Act (Dutch-language page)
applies to them. You put the address of the service you choose in the rua=
field of your DMARC record; we can help you with that.
New domain? Then do start strict
The step-by-step plan above applies to a domain that is already in use, where you do not
know every system that sends email on your behalf. If you are registering a
new domain name now, set p=reject straight away. At that
moment you know exactly who may send email: nobody except what you set up yourself. If
you do not do it then, you create a situation you will have to think about again in a
few weeks, and that reminder usually never comes. The same applies to domains you park
or only use for your website and from which no email is ever sent.
The DNS editor sets the records for you
In the Hostage control panel you set up these records with our own DNS editor. For the common mail configurations it has a preset that sets the MX records, the SPF record and the DMARC record correctly in a single step, without retyping anything. Beforehand you see which records will be added, which will be replaced and which stay as they are. We never touch your DKIM keys, because they are unique to each domain and cannot be recovered.
We wrote that control panel ourselves. If you come across a mail configuration that has no preset yet, you can let us know and we will add one. That is not an option with a standard hosting package from a third party.
What exactly is in those presets is described in Setting up email security with the DNS editor.
What we do not do here
The editor sets records, but it does not assess them: you get no warning if there are two SPF records or if your DMARC record has no report address. You check them with our public tools (the SPF checker (Dutch-language page), the DMARC record check (Dutch-language page) and the DMARC report reader (Dutch-language page)) or together with us.
We also do not take the management of your DMARC reports off your hands, and we do not supply a third-party reporting dashboard. For a handful of senders you do not need one; if you have dozens of systems sending email on behalf of your domain, a specialised DMARC service is a better choice than us. We would rather tell you that now than afterwards.
Frequently asked questions
Does domain protection cost extra at Hostage?
No. SPF, DKIM and DMARC are DNS records on your own domain. You set them up in the control panel and there is no charge for them.
What happens if I only set up SPF?
Then your domain is partly protected. SPF fails as soon as a message is forwarded, however, and without DMARC a receiving server may decide for itself what to do with a failed check. It is the combination of the three records that makes it work.
Can I start with p=reject straight away?
For a new domain name: yes, and you should. You then know exactly who
may send email, and you avoid having to think about it again in a few weeks. For a
domain that has been in use for years: no. Almost every organisation has forgotten a
sender there (accounting software, a form, an old newsletter) and with
p=reject that mail disappears without any notice. Start there with
p=none and read the reports first.
I use Microsoft 365 or Google. Do I need this as well?
Yes. These records belong to your domain name, not to your mail provider. Wherever your mailboxes are, these DNS records determine who may send email on your behalf.
My email ends up in the spam folder. Will this fix it?
It is an important part of the solution, but not the only factor. The reputation of the sending IP address, the content of your message and complaints from recipients also play a part. You can test the content yourself at mail-tester.com: you send a message to the address you are given there and see, item by item, what could be improved. If you cannot work it out, we will look at it with you.
Need help setting it up?
If your email is with us and you want this set up properly, we will go through it with you. If your email is still elsewhere, you can do it yourself with the explanation on this page, or together with us as part of a migration.
Contact us