Skip to main content
How to Set DNS Records on Google Domains?

Looking for information about Google Domains DNS setup? You've found it!

Updated over a week ago

Hello hello! 👋

If your provider is Google Domains - this is the right place for you in you ready to set up DNS records.

Q: How to set DKIM for Google Domains?

If your domain provider is Google Domains, Google automatically creates a DKIM key, and adds the key to your domain’s DNS records when you set up Google Workspace. Go directly to Turn on DKIM in your Admin console.

  1. Click Authenticate email.

  2. In the Selected domain menu, select the domain where you want to turn on DKIM.

  3. Click the Start authentication button.

  4. When DKIM setup is complete and working correctly, the status at the top of the page changes to: Authenticating email with DKIM.

Step 4: Verify DKIM authentication is on

  1. Send an email message to someone who is using Gmail or Google Workspace. (You can't verify DKIM is on by sending yourself a test message.)

  2. Open the message in the recipient's inbox and find the entire message header.

    Note: Steps to view the message header differ for different email applications. To show message headers in Gmail, next to Reply, click More Show original.

  3. In the message header, look for Authentication-Results. Receiving services use different formats for incoming message headers, however the DKIM results should say something like DKIM=pass or DKIM=OK.

Q: How to set SPF for Google Domains?

To turn on SPF for your domain, add a DNS TXT record at your domain provider.

Keep in mind:

  • The field names in these steps might be different for your domain provider. DNS TXT record field names vary for domain providers.

  • After adding an SPF record, it can take up to 48 hours for SPF authentication to start working.

Add your SPF record

Sign in to the management console for your domain host and locate the page where you update DNS TXT records for your domain. For help on how to find this page, check the documentation for your domain provider.

Enter these values on the page or form for your domain provider’s TXT records:

Field name

Value to enter





Note: If you're adding a SPF record for a subdomain, enter the subdomain instead of @. Read Apply an SPF record to subdomain with the Host setting for more information.


If you only send email from Google Workspace, enter this SPF record:

v=spf1 ~all

If you use additional email senders, enter the SPF record you created in Basic setup or in Advanced setup.


1 hour or 3600 seconds

Q: How to set DKIM for Google Domains?

Important: Configure DKIM and SPF before configuring DMARC. DKIM and SPF should be authenticating messages for at least 48 hours before turning on DMARC.

  1. Have the text file or line that represents your policy record ready.

  2. Sign in to the management console for your domain host.

  3. Locate the page where you update DNS records.

  4. Add a DNS TXT record, or modify an existing record, by entering your record in the TXT record for _dmarc:

    1. TXT record name: In the first field, under the DNS Host name, enter:

      Important: Some domain hosts automatically add the domain name after _dmarc. After you add the TXT record, you can verify the DMARC TXT record name to make sure it's formatted correctly.

    2. TXT record value: In the second field, enter the text for your DMARC record, for example:

      v=DMARC1; p=none; rua=mailto:[email protected]

      The field names might be different for your provider. DNS TXT record field names can vary slightly from provider to provider. The domain used here is an example domain. Replace with your own domain.

  5. Save your changes.

That's it!

If you bump into any issues, do not hesitate to contact Google Support:

Did this answer your question?