Keep DNS somewhere else (Cloudflare and others)
You can keep DNS at another provider and still host with Barbrick. You create a few records there that point to us. This suits people who already use Cloudflare, Route 53, or a registrar's DNS.
What you need from Barbrick
| Item | Where to find it |
|---|---|
| Server IP address | Open a request and we will send it to you, usually the same day. |
| Mail hostname | mail.example.ca, which resolves to your account's address |
Records to create at the other provider
For example.ca at the provider you control.
| Type | Name | Value | TTL | Priority |
|---|---|---|---|---|
| A | @ |
203.0.113.25 |
3600 | |
| CNAME | www |
example.ca |
3600 | |
| A | mail |
203.0.113.25 |
3600 | |
| MX | @ |
mail.example.ca |
3600 | 0 |
| TXT | @ |
The SPF value we give you, which starts v=spf1 +a +mx +ip4:203.0.113.25 |
3600 | |
| TXT | default._domainkey |
The DKIM key we give you | 3600 | |
| TXT | _dmarc |
v=DMARC1; p=none; rua=mailto:[email protected] |
3600 |
Check that these records pass in Account → Hosting → your site → Email → Deliverability. To get the SPF and DKIM values, open a request and we will send them. Copy the SPF value in full, because it includes our outgoing mail relay. See Set up SPF, DKIM, and DMARC.
Optional records for webmail and file transfer:
| Type | Name | Value |
|---|---|---|
| A | webmail |
203.0.113.25 |
| A | ftp |
203.0.113.25 |
Two rules
- Do not proxy the mail record. The
mailA record and the MX target must resolve straight to the server. With Cloudflare, set the cloud to grey ("DNS only"). See Use Cloudflare with Barbrick. - Keep email records exact. One missing MX or SPF record breaks delivery.
SSL
AutoSSL checks that your domain resolves to this server before issuing a certificate. With external DNS, AutoSSL validates over HTTP, by fetching a temporary file from your site. It works while the A record points here, including through Cloudflare's proxy. It fails if the name doesn't resolve, or if a firewall or proxy rule blocks requests to /.well-known/. See Why your free SSL hasn't been issued.
Email at another provider
If your mailboxes are not at Barbrick, use the other provider's MX records. See DNS records for Microsoft 365. In Account → Hosting → your site → Email, on the More tab, set Mail routing to Remote so we do not try to deliver locally.
Downsides
- Two places to look when something breaks.
- Our support cannot edit your DNS or restore it from a backup.
- Changes to the server IP (rare) need your update. We will tell you ahead of time.
If those are a problem, use Barbrick's nameservers.
Still stuck? Ask us and we'll walk you through it.