---
title: "Add DNS records from a template"
url: "https://inleed.com/helpcenter/dns-records-from-template"
language: "en"
updated: "2026-11-20"
category: "Domains and DNS"
type: "guide"
---

# Add DNS records from a template

Templates add the DNS records for Google Workspace, Microsoft 365 or a verification for you. You see exactly what changes before anything is saved.

## Right guide?

- Adding a record no template covers, for example for Shopify or MailerLite?  
  [Add a DNS record](https://inleed.com/helpcenter/add-dns-record)

## Faster: let an AI app do it

If you’ve connected Inleed to an AI app, just write what you want done, for example:

> Add the Google Workspace records for example.se

The app prepares the change and shows every record that changes. You approve it in the client area.

[How to connect an AI app](https://inleed.com/helpcenter/connect-ai-app)

## Before you start

- Microsoft 365 needs the MX value from the Microsoft 365 admin center, under **Settings › Domains**. A verification needs the text from the service.
- The domain must use Inleed’s nameservers. Otherwise, add the records where the domain’s DNS is handled.

## How to add the records

1. Log in to the [client area](https://login.inleed.net) and click **Manage** next to the domain.

   The domain’s page opens.

2. Open the **DNS** tab.

3. Click **Templates**.

   The **Add from a template** panel opens.

4. Choose the template for the service.

   **E-mail on the hosting again** only shows for domains on your hosting.

5. Paste the detail from the service into the field that appears.

   For Google Workspace the verification code is optional.

   A verification TXT can be at most 255 characters, on one line.

6. Check the list under **This changes**.

   Rows are marked **Will be added**, **Will change** or **Will be removed**.

   Other MX records are removed, so email only goes to one place.

7. Leave **Stop receiving e-mail on the hosting** ticked if the domain is on one of your hosting accounts.

   Otherwise email from your website to your domain stays on the hosting.

**Important:** With Google Workspace or Microsoft 365, all new email goes there within an hour. The email accounts on the hosting stay.

8. Click **Save the changes**.

   A message confirms the change.

## How to know it worked

The new records are in the **DNS records** list, for example MX `smtp.google.com` for Google Workspace.

**Waiting time:** A changed MX record normally takes effect within an hour. Meanwhile, email can arrive in both places.

## If something doesn’t work

### It says to point mail at the hosting first

**What to do:** Change the A record for `mail` to the IP address in the message, then choose the template again.

[Add a DNS record](https://inleed.com/helpcenter/add-dns-record)

### It says the MX value from Microsoft is missing or must be a server name

**What to do:** Copy the MX value from the Microsoft 365 admin center. It ends in `mail.protection.outlook.com`.

[Connect your domain to Microsoft 365](https://inleed.com/helpcenter/connect-domain-microsoft-365)

### It says the verification code from Google looks wrong

**What to do:** Copy the code again from Google’s Admin console.

### The service can’t find the records

**What to do:** Wait up to an hour. If the DNS tab says **This domain does not use our nameservers**, add the records where the domain’s DNS is handled.

[Change the nameservers for your domain](https://inleed.com/helpcenter/change-nameservers)

## Good to know

- **E-mail on the hosting again** switches back: MX points at the hosting again, Google and Microsoft leave the SPF record and email there is turned back on.
- The templates only touch records for email and verification. Your website’s records don’t change.
- If the domain uses Global DNS, the templates work as usual.  
  [What are Global DNS, CDN and web protection?](https://inleed.com/helpcenter/what-is-global-dns-cdn)

## Related guides

- [Connect your domain to Google Workspace](https://inleed.com/helpcenter/connect-domain-google-workspace)
- [Connect your domain to Microsoft 365](https://inleed.com/helpcenter/connect-domain-microsoft-365)
- [Add a DNS record](https://inleed.com/helpcenter/add-dns-record)
- [Keep your email with another provider](https://inleed.com/helpcenter/keep-email-with-another-provider)
