Hetzner
Verify your domain on Hetzner with Resend.
Add Domain to Resend
First, login to your Resend Account and add a domain.
It is best practice to use a subdomain (updates.example.com) instead of the root domain (example.com). This allows for proper reputation segmentation based on topics or purpose (e.g. transactional and marketing).
Login to Hetzner
Login to your Hetzner account:
- Choose your Domain from the
Your Zones
list. - Select the
Records
tab to get to the page to manage DNS records.
Add MX SPF Record
In the Create Record
section on Hetzner copy and paste the values MX from Resend:
- On the
Type
page, chooseMX
. - Type
send
for theName
of the record. - Select the
Value
field. - Use the default
Priority
of10
. - Copy the MX Value from Resend into the
Mail server
field. - Select the TTL of
1800
. - Select
Add Record
.
Hetzner requires your MX record to have a trailing period when adding. Resend will include the trailing period when copying. Removing the period will cause the verification to fail.
Below is a mapping of the record fields from Resend to Hetzner:
Hetzner | Resend | Example Value |
---|---|---|
Type | Type | MX Record |
Name | Name | send |
Mail server | Value | feedback-smtp.us-east-1.amazonses.com. |
TTL | - | 1800 |
Priority | Priority | 10 |
Do not use the same priority for multiple records. If Priority 10
is already
in use on another record, try a number slightly higher like 11
or 12
.
Add TXT SPF Record
On the same Create Record
section:
- On the
Type
page, chooseTXT
. - Type
send
for theName
of the record. - Copy the TXT Value Resend into the
Value
field. - Select the TTL of
1800
. - Select
Add Record
.
Omit your domain from the record values in Resend when you paste. Instead of
send.example.com
, paste only send
(or send.subdomain
if you’re using a
subdomain).
Below is a mapping of the record fields from Resend to Hetzner:
Hetzner | Resend | Example Value |
---|---|---|
Type | Type | TXT Record |
Name | Name | send |
Value | Value | "v=spf1 include:amazonses.com ~all" |
TTL | - | 10800 |
Add TXT DKIM Records
On the same Create Record
section:
- On the
Type
page, chooseTXT
. - Type
resend._domainkey
for theName
of the record. - Copy the TXT Value Resend into the
Value
field. - Select the TTL of
1800
. - Select
Add Record
.
Omit your domain from the record values in Resend when you paste. Instead of
resend._domainkey.example.com
, paste only resend._domainkey
(or
resend._domainkey.subdomain
if you’re using a subdomain).
Below is a mapping of the record fields from Resend to Hetzner:
Hetzner | Resend | Example Value |
---|---|---|
Type | Type | TXT Record |
Name | Name | send |
Value | Value | p=MIGfMA0GCSqGSIbRL/a21QojogA+rYqIQXB/3DQEBDAQAB |
TTL | - | 1 hour |
Complete Verification
Now click Verify DNS Records on your Domain in Resend. It may take a few hours to complete the verification process (often much faster).
Troubleshooting
If your domain is not successfully verified, these are some common troubleshooting methods.