I have a Heroku app and I need to set up a domain for it. The common way to set it up is to use a CNAME record to specify that this domain is an alias to <your-domain-name>.herokuapp.com.
But I also want to add some integrations that require me to add TXT record for the domain. I set it up like that for the domain example.com:
@ IN TXT google-site-verification=xxxxxxx @ IN TXT yandex-verfication:xxxxxxxxx www IN CNAME example.herokuapp.com I also need to add similar TXT records on www.example.com, but apparently this isn't possible since a CNAME already exists.
So, the question: is there any way to add CNAME and TXT records for the same subdomain?