Multiple TXT records at the root level

Hello,

In order to enable SPF on my domain, I need to add a TXT record at the root level of the domain containing “v=spf1 include:_spf.google.com ~all”.

I have tried adding a record with:
Type=TXT
Subname=(blank)
Content=“v=spf1 include:_spf.google.com ~all”
TTL=3600

This fails with message: "I get this error: Another RRset with the same subdomain and type exists for this domain. "

Is it not possible to have multiple TXT records with subname blank?

The problem is, that I also have another TXT record at the root level, namely the google verification record: “google-site-verification=xxx…”

I cannot remove this record as my domain will then not be validated with google.

Can I combine multiple values into the same record like this?
Type=TXT
Subname=(blank)
Content"google-site-verification=xxx" “v=spf1 include:_spf.google.com ~all”

Would that be possible?

How to proceed?

In the web-interface, click on “+ add another value” below the content of your TXT record. A client has no way to distinguish TXT records except by the name, so all “TXT records” for a particular name are really just one with several values. It’s the same for other record types. You can’t add “another A record”, just another value for the A record for a particular name.

Exactly.

For context, the reason for this is that all records for a given subname/type combination share the same TTL.

The error message could make this clearer; we’ll fix this on occasion.

Stay secure,
Peter

1 Like

Thank you. This solved it!

Makes sense. Thanks. Good idea to add some text around this in the error message. Perhaps link to this post in the error message.