Can't add a period to a DNS Record Hostname TXT record

I am trying to set up email with a Netlify domain.

I am following this guide which tells me to add an SPF (TXT not actual SPF) file. But it says:

Please just double check that host name ends with a period .

When I try to add a hostname with a period at the end I get this:

Alternatively if I manually type out the hostname into name, like so:

my-host-name.co.uk

The host name of the record doubles and becomes:

my-host-name.co.uk.my-host-name.co.uk

Also with no period.

What am I doing wrong?

Hi, @Adzz, the dot will be at the end of the hostname if you use just @. The symbol @ is just an alias for the apex/bare/root domain.

Technically all fully-qualified domain names (FQDNs) always end in a dot.

This means eff.org and example.com are always technically “eff.org.” and “example.com.” but most tools will never show that ending dot (even though it’s “there”).

Here is an example with my personal favorite DNS command-line tool, dig:

$ dig netlify.com  +noall +answer

; <<>> DiG 9.10.6 <<>> netlify.com +noall +answer
;; global options: +cmd
netlify.com.		19	IN	A	167.172.215.127

I queried for netlify.com above but the answer was for “netlify.com.” (with the ending dot). ​Please let us know if @ alone doesn’t work and/or if there are other questions.

1 Like