Question

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 _dmarc.rollforinspiration.com TXT

_dmarc.rollforinspiration.com. 3600 IN TXT "v=DMARC1; p=none; sp=none; rua=mailto:dmarc@mailinblue.com!10m; ruf=mailto:dmarc@mailinblue.com!10m; rf=afrf; pct=100; ri=86400"

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

> dig +noall +answer +multiline rollforinspiration.com 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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @mattgues

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

https://www.digitalocean.com/community/tools/dns

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.

Regards