October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk4 min

What Do A, CNAME, and TXT Records Point To?

A points to an IPv4 address, CNAME aliases another DNS name, and TXT stores service-specific text. Learn how lookups, CNAME limits, and TTL work.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A DNS record is typed information associated with a DNS name: an A record stores an IPv4 address, a CNAME record stores another DNS name, and a TXT record stores text strings. The record type determines what its value means.

What each DNS record contains

Type What the value represents Typical use Key caution
A An IPv4 address Directing a hostname to an IPv4 endpoint It stores an address, not a URL. (Cloudflare)
CNAME Another DNS name Aliasing a hostname to a target name managed elsewhere It cannot ordinarily coexist with other DNS data at the same name. (Cloudflare)
TXT One or more text strings Domain verification and email-authentication data The requesting service interprets the text; it is not a browser destination. (Cloudflare)

The related AAAA record stores an IPv6 address, the IPv6 counterpart to the IPv4 address in an A record. (Cloudflare)

As an Amazon Associate I earn from qualifying purchases.

These examples are illustrative, not live records: www.example.test A 192.0.2.10 associates the name with an IPv4 address; shop.example.test CNAME storefront.example.net aliases one name to another; and _verify.example.test TXT "verification-token" stores text for a service to check.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What an A record points to

An A record associates its DNS name with an IPv4 address. The address identifies a network endpoint; it is not a full web address and contains no scheme such as https:// or a page path. If a hosting service asks for an A record, enter the IPv4 address it specifies rather than a URL or another hostname. (Cloudflare)

What a CNAME points to—and why a lookup may show an IP

A CNAME is a name-to-name alias. Its value must be a DNS name, not an IP address. RFC 1035 describes the CNAME data as “A <domain-name> which specifies the canonical or primary name for the owner. The owner name is an alias.” (RFC 1035)

When a resolver looks up a name with a CNAME, it can continue the lookup at the target name and return that target’s relevant records. This process, often called CNAME chasing, explains why a query can ultimately produce an IP address even though the CNAME itself contains a hostname. The alias record and the result of following it are different pieces of information. (Google Cloud DNS)

The same-name restriction

Under the ordinary DNS rule, a name with a CNAME cannot also hold other ordinary record data. MX and NS records must not point to a CNAME alias. This restriction matters when configuring mail, delegation, or other services at a hostname: do not assume you can add a CNAME alongside those records at the same name. (RFC 1034)

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The zone apex and provider-specific aliases

The zone apex is the domain name itself, such as example.com, rather than a subdomain such as www.example.com. Standard DNS does not define a universal way to put an ordinary CNAME at the apex while retaining the other records normally needed there. Some DNS providers offer features with names such as ALIAS or ANAME, or provide CNAME flattening. These are provider-specific behaviors, not interchangeable standard DNS record types. Cloudflare documents flattening as one such provider feature; check your DNS provider’s current documentation and interface before using it. (Cloudflare CNAME flattening; Google Cloud DNS)

What a TXT record points to

A TXT record stores text. Services can use that text to verify domain ownership or publish email-authentication information, among other service-specific purposes. A TXT value is data for the service that requested it; it does not direct a browser to an IP address or URL and does not redirect website visitors. Follow the requesting service’s instructions for both the exact text and the DNS name where it belongs. (Cloudflare)

How DNS lookup and caching affect what you see

Authoritative DNS servers hold the configured records for a domain. A recursive resolver works on a client’s behalf, consulting DNS servers through the hierarchy—root, top-level domain, then the domain’s authoritative servers—and may return information from its cache rather than asking again immediately. (Google Cloud DNS)

Each record can have a TTL, or time to live, measured in seconds. It tells resolvers how long they may cache an answer before discarding it and seeking an updated one. After a record change, some users may still receive an earlier cached answer until the relevant cached data expires. There is no single guaranteed wait time: the configured TTL, any earlier cached answer, resolver behavior, and provider setup all affect when a change becomes visible. (Cloudflare; Google Cloud DNS)

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Choose the record by the value you were given

  • If the service gives you an IPv4 address, it is asking for an A record.
  • If it gives you an IPv6 address, it is asking for an AAAA record.
  • If it gives you a hostname as the target, it may be asking for a CNAME; confirm the requested record type and name, especially if other records already exist there.
  • If it gives you a verification token or other text string, it is asking for a TXT record, not a web destination.

Use the exact record name, type, and value provided by the website, mail, or verification service. A provider’s interface may use its own labels for apex-alias features, so distinguish those provider-specific options from standard A, CNAME, and TXT records.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.