DNS txt records not being returned for @ hostname

I have a number of txt records set on my domain in the dns settings here, but the ones using @ for the hostname do not return on a dig. I’m trying to get some email services set up, and am unable to verify the domain due to this.

If I dig on one of the records that uses a subdomain, I get the txt record no problem:

> dig +noall +answer +multiline TXT 3600 IN TXT "v=DMARC1; p=none; sp=none;!10m;!10m; rf=afrf; pct=100; ri=86400"

However, any that I set using @ as the hostname do not return anything:

> dig +noall +answer +multiline TXT
returns nothing

Is this not supported by Digital Ocean’s dns servers, or is there something special I need to do? I searched here first and have already tried wrapping the value in quotes, but it doesn’t seem like others have found solutions either.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Site Moderator
Site Moderator badge
July 9, 2022

Hi @mattgues

You can use our DNS lookup tool to verify if the DNS records are being picked up.

Also, all DNS changes will need some time in order to fully resole due to DNS propagation time and general DNS cache from IPSs and local DNS cache.


Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up