Skip to content
The Chat Archive
claude-3-5-sonnet-20241022· Anthropic LMArena Human Preference 140K

Can I set TXT and CNAME records in the same time for a subdomain?

  1. User

    Can I set TXT and CNAME records in the same time for a subdomain?

  2. Assistant

    No, you cannot set both TXT and CNAME records for the same subdomain simultaneously. This is due to a fundamental DNS constraint - a CNAME record acts as an alias pointing the subdomain to another domain name, and when present, it must be the only record type for that subdomain.

    If you need both types of records, you have two main options:

    1. Use separate subdomains (e.g., txt.example.com and cname.example.com)
    2. Instead of a CNAME, use A/AAAA records along with your TXT record on the same subdomain

    The second option is often used when you need both types of functionality for the same subdomain.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.