Chapter 9: Domain Names, DNS and Subdomains
9.3 DNS record types you must know
Friends, a DNS record is a small rule – this name, this type, this value. A, CNAME and TXT are used every day; for the rest, being able to recognise them is enough.
मित्रांनो, DNS रेकॉर्ड म्हणजे एक छोटा नियम – हे नाव, हा टाइप, ही व्हॅल्यू. रोज A, CNAME आणि TXT वापरले जातात; बाकी रेकॉर्ड्स ओळखता आले तरी पुरेसे.
दोस्तों, DNS रिकॉर्ड मतलब एक छोटा नियम – ये नाम, ये टाइप, ये वैल्यू. रोज़ A, CNAME और TXT इस्तेमाल होते हैं; बाकी रिकॉर्ड्स पहचान लो तो काफ़ी है.
| Record | Purpose | Example (name → value) |
|---|---|---|
| A | Name → IPv4 address | @ → 192.0.2.50 |
| AAAA | Name → IPv6 address | @ → 2001:db8::50 |
| CNAME | Name → another name (alias) | www → dairy.example.test. |
| MX | Mail servers for the domain (with priority) | @ → 10 mail.dairy.example.test. |
| TXT | Free text, used for verification, SPF, DKIM | _proof → "sample-verification-token" |
| NS | Which name servers are authoritative | @ → ns1.dairy.example.test. |
| SOA | Start of authority: zone admin info and serials | Often managed by the provider |
| CAA | Which certificate authorities may issue certificates | @ → 0 issue "ca.example.test" |
| Alias (Route 53) | Provider feature for compatible targets, including eligible apex arrangements | @ → load balancer / CloudFront |
CNAME rules
An ordinary CNAME cannot share its owner with other ordinary record data. Because a zone apex has NS and SOA, use a verified A or AAAA address there, or a supported provider-specific alternative such as a Route 53 Alias for an eligible target.
TTL and "propagation"
TTL gives cache lifetime information in seconds. Clients and resolvers can learn data at different times and retain earlier answers. Compare the intended authoritative response with the client’s actual resolver, and account for applicable cache behavior.
- Check the existing TTL and allow for earlier cached records before relying on a lower value for a planned change.
- After verifying the new result, choose an appropriate steady-state TTL for the service and its provider.
- A parent delegation change also involves cached NS information. Verify that the new authorities serve the complete zone and plan continuity during transition.
Ravindra Bagale's Tip
Before a change, record the old TTL and verify the new endpoint. Compare the response from the exact authoritative zone with what the client’s resolver sees. For an apex use the verified address records or a compatible provider alias.
Ravindra Bagale's Tip – मराठी
बदलापूर्वी जुना TTL नोंदवा आणि नवीन endpoint तपासा. योग्य authoritative zone आणि client चा resolver यांची उत्तरे तुलना करा. Apex साठी योग्य address records किंवा समर्थित alias वापरा.
Ravindra Bagale's Tip – हिंदी
बदलाव से पहले पुराना TTL दर्ज करें और नया endpoint जाँचें. सही authoritative zone का उत्तर client के resolver से मिलाएँ. Apex के लिए सही address records या समर्थित alias इस्तेमाल करें.
Lab
Chala, use the offline record worksheet below to find the difference between an address, an alias and text. If permitted, observe A, AAAA, MX and TXT answers for the IANA example domain and save their full statuses.
Choose a record by the question your service needs answered
Friends, the dairy now has a name, and we know how a resolver can reach the authority for it. Today the team has several different requests. They want the collection website to open from a stable address. They want a shorter name for the pickup app. They want customers to be able to send email. A verification provider also asks the dairy to publish a particular statement. These actions all involve DNS, but each uses a different kind of information. Start by identifying who will ask the question and what form of answer that client expects.
A resource record associates data with an owner name. The record's type specifies the interpretation of that data. Two records of the same name, class and type form part of the same record set. An address record set can contain more than one address, for example. A resolver might cache that set for its appropriate lifetime, and it can ask a separate question about another type. In a dashboard you may see a row that stores multiple values at once. Write down owner name, type, record value and TTL before deciding which current setting to change.
Our workshop uses dairy.example.test and address ranges reserved for examples. They do not point to an actual organization or server. In the real project you would identify the active authoritative zone and follow the deployment's authorized process. In this lesson you can read the record choices and model the changes entirely offline. A short optional public look at example.com near the end uses an IANA documentation domain. It shows what different record types look like, without asking you to publish any of them.
Keep a small answer chart as you read. A question about an IPv4 destination leads to A. A question about an IPv6 destination leads to AAAA. An alias that refers a resolver to another DNS name can use CNAME where it is allowed. Mail routing uses MX. A policy or proof formatted as text commonly uses TXT. Delegation uses NS, and zone metadata is represented by SOA. CAA allows a domain operator to express permitted certificate issuers. These are related by their role in DNS, while the services that consume the answers have separate requirements.
Publish the destination that really listens
Suppose the dairy website has a team-managed stable IPv4 address. An A record for the owned hostname would contain that numeric address in dotted decimal form. For example, the workshop row www.dairy.example.test. 300 IN A 192.0.2.51 contains the owner name, 300-second TTL, Internet class, record type and example number. An actual provider may separate these into fields. Some dashboards ask for a label such as www because the selected zone already supplies the suffix. Others accept a full name. Always verify the resulting owner.
If the team has a verified IPv6 endpoint, it can also publish an AAAA record with a colon-separated IPv6 address. The two address types can coexist at one owner name. IPv4 and IPv6 clients can differ in how they select and attempt a destination. A published IPv6 address should lead to a listener and named HTTPS behavior that the service actually intends. A stale AAAA record can continue pointing some clients to a prior or unready endpoint after a correct A change. Make a plan for both types and check the real client path for each family that is published.
What if a provider offers a managed load balancer name? Its addresses can change. Copying one address you observed in a lookup into a permanent A record may substitute an implementation detail for the provider's designated endpoint. Check the provider's documented way to use that target. For a stable self-managed IP address, the direct A or AAAA value can be appropriate. For an eligible managed resource with a service-owned name, a supported alias mechanism can preserve the intended association as the service updates its addresses. Either arrangement still needs an intended web listener, route and certificate.
A record value for an ordinary A or AAAA lookup is an address, not a URL or a port. If a path is needed, publish the complete URL in user instructions and configure the path at the web service. If an alternative port is required, it normally appears in the appropriate client configuration or URL. DNS record types such as SRV or service binding records can represent other service information for clients designed to use them, but inserting a port into an A record is not how that works. This lesson focuses first on the common address lookup that names a web host.
Try the following check on paper. You plan to move a hostname from a known working IPv4 address to a new one. First write which owner will change. Then write the currently published A values and any AAAA values. Decide whether the IPv6 endpoint will move, remain, or intentionally be unavailable for the planned service. Confirm the new web endpoint responds to the desired name before directing customers there. The DNS record decision becomes easier once it is clear what destination will actually deliver the service.
Refer a resolver to a different DNS name
A CNAME associates its owner with another DNS name. Think of the dairy training portal that uses a service provider's designated target. The owner could be training.dairy.example.test. and the target portal.provider.example.test. in this imaginary arrangement. When the resolver asks for an address for the alias, it can learn the target name and continue obtaining address data for it. The target operator can then update underlying addresses through its own authoritative service. The alias owner and target are DNS names, and the resulting answers can involve separate caches.
There is an important limit. A CNAME owner is an alias and generally cannot have other ordinary data at the same owner name. Relevant DNSSEC metadata has exceptions, but that does not allow a regular A, MX or TXT beside the same CNAME. The zone apex must already have authoritative NS and SOA data, so an ordinary CNAME cannot be used there. If a provider suggests a verification TXT at the exact label of an existing CNAME, read the verification documentation for an allowed design. It may use a distinct owner or a different method. Do not casually replace a working resource record to satisfy a different tool's instruction.
For the dairy the apex, the training alias and a provider verification name can be three separate owners. The apex can keep its web address and mail exchange, the training name can be a CNAME, and the selected verification name can have TXT data. Record each full owner in your inventory. Two short labels may also belong to different zones. A conflict is about the actual owner name and record data, so you can sometimes solve it by following the documented distinct verification label. When a genuine conflict remains, coordinate with the service owners and use a supported configuration.
An alias lookup leaves the client using the originally requested site name for its normal web visit. If customers enter the dairy's training URL, the certificate and web frontend must support that hostname. A browser's visible change to a different page or host requires an HTTP-level redirect or another suitable client behavior. A CNAME has no path component and does not send an HTTP Location response. The service attached to the target can be configured to respond with a redirect if that is the project goal. Keep enabling the typed name and directing the browser somewhere else as two steps in the design.
Root and child names can also follow product-specific mechanisms. Route 53 alias records are an AWS extension that lets an operator select supported resource targets or an eligible same-type record in the same hosted zone. The response uses the declared answer type, commonly A or AAAA for web decisions, instead of returning a CNAME resource record to the client. Eligible alias arrangements can work at the zone apex because the alias does not replace the required DNS data there with a CNAME. An arbitrary external hostname cannot be assumed eligible. The target and expected record family must follow the service-specific documentation.
When using AWS, distinguish Route 53's provider configuration from what the client can observe. A route provider interface may have an Alias toggle next to the A record field. The DNS tool sees responses to the requested type, not a portable new DNS type called Alias. Dynamic service targets can also have TTL behavior provided by the target rather than a freely editable TTL on that alias. Document what is configured and observe what is actually returned. A migration to another DNS provider needs a new decision about that provider's supported apex behavior.
Route incoming mail and publish mail policy separately
An MX record tells senders where mail for the domain should be accepted. A conventional record gives a preference and a mail exchanger name. Smaller numbers have higher preference. If both a primary and a secondary server are configured, the delivery system uses the relevant mail rules to choose. An example value of 10 mail.dairy.example.test. identifies the preferred mail host for the imaginary domain. The name of the exchanger needs usable address data and an appropriate mail service. In ordinary MX configuration it should not be a CNAME target. Pointing the delivery record at a web site does not install a mail server there.
A domain that never accepts mail can publish a null MX. Its value is preference zero followed by a single dot as the exchanger. This is a specific statement of no mail service. It differs from saying there happen to be no published MX records. Ordinary mail rules can attempt a host address fallback when MX records are absent. When reading a public example with 0 ., do not go looking for a mail service called dot. The convention explicitly signals that mail is not accepted at that domain. Never add such a record to an organization that expects to accept mail without coordinating the consequences.
TXT records can carry statements that another service knows how to parse. An ownership verification process may produce a random public token and instruct the owner to add it at a named location. Publish the exact value at the exact owner if the action is authorized. The presence of the expected text shows where the external service could read it. That does not transfer the registrar account or make the record a reusable private credential. Think about what is meant to be public. A dashboard labelled TXT is not a secure secret store.
Email policies also use TXT with particular syntax. SPF describes which sending hosts may use the applicable domain in the mail identity being checked. DKIM uses a digital signature and retrieves the verification public key under a selector-specific DNS name. Neither should be copied blindly into a live zone from a classroom example. They serve different functions from the inbound mail destination in MX. Changing the public web IP does not inherently require deleting or replacing these records. Inventory the relevant record types and exact owner names before moving a zone or correcting a website route.
A service may ask for TXT at the apex or give a complete name containing a leading validation label. Read it as a record owner, not as part of the text value. In a provider panel, check how it accepts quotes and separate strings. Some formats display quotes that delimit the presentation without making those quotes part of the returned text. A key may also be represented as multiple adjacent character strings, depending on the provider and service expectations. Verify the final effective data against the required format rather than adapting your service's instructions to a random copied example.
Understand the records that describe a zone
NS records give name server names. At a delegation, the parent zone lists the servers assigned to the child. In the child zone, its own apex NS record set describes the authorities serving it. These observations can be compared and should reflect the intended arrangement. They have different places in the DNS structure. If an operator changes an NS row in a copy of the child zone, the parent is not automatically updated in every registrar setup. When moving authority, identify the registrar or parent administrator that controls the real delegation and verify the intended child zone at each selected server.
For the fictional dairy, imagine the parent names two workshop name servers for the assigned branch, and the child zone's NS set identifies the same two names. Establish which data belongs to the parent and which belongs to the child. Address information may be needed to reach a name server whose hostname lives inside the very zone being delegated. Supporting address data supplied in a referral can break that dependency. An ordinary case of changing the website's A result within the same zone typically leaves nameservers as they were. DNS provider migration requires different evidence and preparation.
SOA stands for Start of Authority. A zone's apex has an SOA record that describes its authority and timing metadata. The serial is a number used by DNS software for coordinating zone versions. Other fields describe the zone's primary source, an administrative mailbox represented in the record's format and several timings. Providers often manage much of that for you. Read the applied state's documentation and exact result rather than manually editing service-owned metadata. For a negative answer, the relevant SOA contributes to the cached negative lifetime. That was why the prior lesson modeled a separate expiry for an absent name.
Newcomers sometimes see an SOA in a negative response and assume they asked for SOA instead of A. Check the question section before drawing that conclusion. A user can ask for A and receive a negative result with accompanying SOA data in the authority section. Those two pieces serve different purposes. Conversely, a direct SOA question for the apex can return the actual SOA in its answer section. Use the full output and exact query fields to tell which situation you observed. This explains why a precise notebook is more useful than saving only a sequence of IP addresses.
Read a certificate authorization record in its own context
A CAA record allows the domain's DNS operator to express which certificate authorities may issue certificates under the applicable name and policy. A certificate authority is the organization that issues a signed certificate after its required checks. A CA evaluating a request looks up the relevant CAA data using the rules in the standard. For example, CAA processing may walk upward through parent names if it finds no relevant set at the starting name. It can also account for aliases according to those rules. An existing record at a specific name or ancestor can therefore matter when a request appears unrelated to an immediately visible row.
A commonly seen presentation has flags, a property tag and a value. The tag issue can name issuers allowed for applicable requests. The issuewild tag can specify an applicable wildcard issuance policy. A wildcard certificate covers names according to TLS identity matching rules. Publishing a CAA row neither installs a certificate nor serves the site. It also does not by itself complete the issuer's proof that the requester controls the name. If issuance fails, check the expected issuer identifier, the exact requested names and relevant policy evidence with the service owner.
For beginner practice, start with a supplied relationship instead of copying a real issuer's label. In the worksheet a fictional issuer identifier appears as the CAA value. You can explain which part is the tag and which part is the value. In actual operation use the chosen CA's correct documented identifier and authorized policy. A DNS-only exercise need not request or install any certificates. Keep certificate issuance, the certificate actually presented for the typed name and whether the visitor accepts that identity as separately verifiable observations.
Read a TTL according to the record that will change
A TTL is time-to-live in seconds. A resolver can reuse earlier information according to its remaining lifetime and its applicable caching rules. A fixed instruction such as “always lower it to five minutes the day before” is too narrow for every migration. Find the current published TTL and the changes actually planned. If an earlier value allowed much longer caching, account for those previously saved lifetimes before expecting the shorter settings to help. Some providers set minimum values or manage TTL on particular aliases. The migration plan should include a verified end result and an agreed time for keeping both endpoints viable if old cached clients may still use the earlier one.
Compare changing one A record with changing a DNS provider. In the first project, the delegation stays in place and one answer changes. In the second, the parent starts referring resolvers to a different set of servers and a whole zone needs a verified copy. Resolvers can cache delegation and aliases separately from final address sets. Getting a desired A record from one resolver provides a useful test but cannot certify the whole transition. Keep authority, record data and application probes on distinct lines of the worksheet.
A newly added record may also appear delayed when a recursive resolver cached an earlier negative answer. Ask the relevant authority about the exact newly added owner and type, and compare that with the user's resolver. Check whether the previous status represented name absence, a missing type or lookup failure. A running endpoint is one dependency, and refreshing the DNS path is another. After publishing approved records, make a named application request too. A web service may still need to select the correct site or certificate even if the DNS values the client received are now appropriate.
Build and review a small teaching zone offline
Use a terminal with Python 3. The supplied table holds the proposed records for the fictional dairy. The block checks a few intended relationships and prints the public-facing answers it would ask you to verify. It does not start DNS, publish values or contact a remote service. Compare the owner names for the apex, the training alias and the verification token before pressing Enter. Some values refer to other names, so you can trace one dependent address lookup on paper. No files are created.
python3 - <<'PY'
from ipaddress import ip_address
from collections import defaultdict
apex = "dairy.example.test."
records = [
(apex, 300, "A", "192.0.2.50"),
(apex, 300, "AAAA", "2001:db8::50"),
(apex, 300, "MX", "10 mail.dairy.example.test."),
(apex, 300, "NS", "ns1.dairy.example.test."),
(apex, 300, "NS", "ns2.dairy.example.test."),
(apex, 300, "SOA", "ns1.dairy.example.test. hostmaster.dairy.example.test. 2026112201 3600 600 86400 300"),
(apex, 300, "CAA", '0 issue "ca.example.test"'),
("www.dairy.example.test.", 300, "CNAME", apex),
("mail.dairy.example.test.", 300, "A", "192.0.2.52"),
("ns1.dairy.example.test.", 300, "A", "192.0.2.53"),
("ns2.dairy.example.test.", 300, "A", "192.0.2.54"),
("_proof.dairy.example.test.", 300, "TXT", "sample-verification-token"),
]
def review(rows):
owners = defaultdict(set)
lifetimes = defaultdict(set)
for owner, ttl, kind, data in rows:
owners[owner].add(kind)
lifetimes[owner, kind].add(ttl)
if kind in {"A", "AAAA"}:
expected_version = 4 if kind == "A" else 6
assert ip_address(data).version == expected_version
conflicts = [owner for owner, kinds in owners.items()
if "CNAME" in kinds and len(kinds) > 1]
assert all(len(ttls) == 1 for ttls in lifetimes.values())
return conflicts
assert review(records) == []
for owner, ttl, kind, data in records:
print(f"{owner:30} {ttl:4} {kind:5} {data}")
bad = records + [("www.dairy.example.test.", 300, "TXT", "competing-token")]
assert review(bad) == ["www.dairy.example.test."]
print("\nThe separate TXT owner works in our proposed design.")
print("Proposed TXT at the existing www CNAME owner: conflict.")
PY
The printed record rows start with the common apex. Read its two address rows, then the mail exchanger, two nameservers, one zone metadata record and one authorization policy. The training demonstration treats these as proposed data at a single owner. The www row uses a distinct owner and points back to the apex as its target. Find the verification token under its separate proof label. The model accepts that combination. It deliberately adds a proposed TXT at the existing www CNAME owner to illustrate a conflict.
Notice the mail dependency. The MX row names another owner, and that owner appears with its own A row. The client which follows the MX answer can find the intended IPv4 example for the mail listener. An address row for the website does not fill that dependency if the mail row names a different host. The relationship applies even when two services eventually share a provider. The names and their expected types are what tell you which follow-up question belongs in the test plan.
This table checker has a deliberately small validation scope. It verifies the address families, shared TTLs for supplied record sets and ordinary CNAME data conflicts in the example rows. It is not a complete DNS implementation or a substitute for a provider's actual syntax checks, policy, delegation or safe staged release. The in-zone nameserver rows represent information the child publishes. A real registration and applicable parent-side glue involve separate steps which our table does not perform. Since the script changes memory only, there is no cleanup task.
For a follow-up, write a proposed website move from the example IPv4 ending in 50 to one ending in 70. Choose whether the existing IPv6 service stays or moves according to the fictional plan. Circle the address data that would change, then name which mail, authority and verification records should remain untouched. Next change the request: the dairy now uses an eligible AWS load balancer at the apex. Decide which provider-specific compatibility question must be answered before choosing an alias. Your revised worksheet should identify the active authority, intended target, exact owner and verified request goal.
Read several types from the same public example
On an approved network with dig installed, run these brief lookups for the IANA example domain. Keep the complete outputs so you can see status and answer format. The same name is used every time. You are asking four different questions. If the network does not allow these read-only lookups, use the supplied offline model and identify the expected fields for each instead. No credentials or other site changes are needed.
dig +time=3 +tries=1 example.com. A
dig +time=3 +tries=1 example.com. AAAA
dig +time=3 +tries=1 example.com. MX
dig +time=3 +tries=1 example.com. TXT
Read the returned owners and types. The address families are displayed in different formats. When the observed MX answer is 0 ., that value is a null MX signal under the applicable standard. It is different from an empty answer or a conventional mail server address. A displayed SPF policy text, such as a value beginning with v=spf1, belongs to a TXT answer in the example. The provider can publish several TXT data values for the same owner for different intended consumers. The DNS result does not always tell you which organization requested a particular verification row. Avoid guessing its purpose from an opaque token.
Record exactly what your observation showed. Public sample records can change, so your grade does not depend on a fixed numeric address, byte string or one quoted TTL. Check the statement about each type against the output you actually received. If a lookup times out, note that you lack its response instead of supplying an expected real value from the text. If the training name returns data, no website probe is needed to classify it as IPv4, IPv6, a mail policy or a text result. Deployment verification would add an authorized service-level request separately.
Make a small safe change plan
Imagine the dairy announces that www should be the preferred name but the apex should continue accepting visitors. One proposal is to create a DNS alias for the shorter name and assume the address will change in the browser. Ask what first response the apex should provide and which name users should see afterward. Then write the requirements for both names to reach an endpoint and for the original HTTPS connection to pass certificate checks. A website redirect is a service behavior. The name lookup alone cannot satisfy that requested visible result. You could choose an eligible apex address arrangement and configure the web service to issue the intended redirect.
Next suppose the owner receives a verification request at a host that is already a working CNAME. Read the required record owner exactly. If the instructions allow a different documented verification label or method, choose the one compatible with the working alias. If they require the same owner exclusively, coordinate rather than applying a contradictory set. Before applying, record the current alias dependency and the expected verification behavior. Verify both the existing training URL and the agreed proof record. You have finished the plan when each setting can be checked independently and the team has a way to restore a known good record if a mistake is found.
For a final case, separate website continuity from mail continuity. Write down which DNS record names incoming mail servers, which publishes approved sender policy, and which records identify the web endpoint. Include the dependent A or AAAA entries when an MX refers to a mail hostname inside the zone. If only the web A value changes, preserve the other records according to the scope. If the team moves the entire DNS provider, bring forward the whole applicable zone and compare the correct records before changing delegation. A successful home page alone would miss a missing mail record or verification token.
Use a peer's review to catch wrong assumptions. Ask them to mark which changes move a record owner, which change only its data, and which alter authority at the parent. A record could point to a new provider-managed name whose owner and target are intentionally separate. One set of nameserver labels in the child does not replace the registrar-managed update. In a handoff, write the exact expected questions, not simply “verify DNS.” For example, a colleague can repeat an A lookup for the principal hostname, an AAAA lookup where configured, an MX lookup for the domain and a TXT lookup for the proof name. Each result serves a named consumer.
When the partner asks which old observations can persist, find the prior TTL for each changed type and check any referral or alias dependency. An old A on one recursive path is compatible with a new A at the authority. An unchanged TXT at the verification owner is intentional when the website moves. Think through how you would verify the host's actual TLS certificate and web body after the DNS observations. The plan is ready when a teammate can say which visible customer outcome should remain available during the change and what evidence supports it.
Include the record target's ownership in the final review. If the target is a service-created endpoint, check what happens to DNS when the team decommissions that service. An old pointer can keep sending visitors toward a name the team no longer operates. The right cleanup depends on which aliases still use the target and whether a replacement is verified. Record those dependencies while the deployment is still understood. Do not assume a simple name inventory tells you whether all destinations still belong to the organization. Checking the approved endpoint and successful named request are what close that gap.
Compare your expected outputs with another learner's. A well-written entry for the proof label predicts the record type, target owner and matching text, while an entry for the pickup alias predicts a target name and the subsequent usable address result. The same word value can mean a number, preference and name, authority metadata or a quoted string. A rubric that grades only whether a dashboard saved the input misses those distinctions. Verify how each affected client interprets the published result. For a teaching CAA row, interpretation is enough. A certificate issuance or live mail delivery would require a separate approved test.
Explain your choice of record and its limits
When would you use A and when would you use AAAA?
A carries an IPv4 address and AAAA carries an IPv6 address. If the named service is ready on both families, the two record types can coexist. I would verify both the published results and a named request on each intended family. If only the A value is changed, a stale AAAA response can still lead a client to the old endpoint. The type tells me what question I answered and which connectivity check remains.
What prevents a regular CNAME at the zone apex?
The apex has required authoritative data such as SOA and NS. An ordinary CNAME owner may not coexist with other ordinary record data at the same name. I would use a verified direct A or AAAA where a stable address is intended, or check whether the DNS platform offers a compatible managed target feature. In Route 53, an eligible alias answers the relevant DNS type at the apex without making that owner a CNAME.
What is the difference between a CNAME and an HTTP redirect?
A CNAME tells the resolver to follow another DNS name for the applicable lookup. The visitor can continue using the original host in the URL. An HTTP redirect is a response from a reachable web endpoint that asks the client to fetch another address. I would verify original DNS, the initial TLS identity for ordinary HTTPS, and the returned HTTP redirect separately. A matching address does not alone prove which page the visitor will see.
How would you interpret a null MX value returned from a public domain?
The specified preference zero with the exchanger written as a dot signals that the domain does not accept mail. I would report it as the defined null MX convention rather than assume a dot names a real mail server. When an ordinary MX target is present, I would identify its name and relevant address lookup. Verification of a live mail service would involve separate authorized checks.
Why do verification TXT, SPF and DKIM require separate care?
TXT is a transport for text, while each consumer interprets its own expected content and owner name. Site verification uses a specified proof value. SPF addresses whether a sending host is authorized for a mail identity. DKIM can retrieve a public key for the selector in a signed message. Keeping each tool's exact instructions avoids putting the data at the wrong label or displacing an existing policy when it should stay.
Which two levels of NS information should you check when changing a DNS provider?
Check the parent delegation that refers resolvers to the child's authorities. Then check the zone's own NS and other authoritative data on the intended new servers. Old resolver caches may retain earlier delegation data, so the continuity plan should account for the previous authority. Saving an apex NS edit in a hosted zone is only one observation. I would verify the parent and authoritative data through their proper interfaces.
Match the record with its evidence
Which part of
10 mail.dairy.example.test.is the mail exchanger?Answer and reasoning
The name after the number identifies the destination mail host. The first number is preference, and smaller is preferred under normal MX selection. Check the host's own address records when tracing where a sender can connect.
The provider tells you to put a regular TXT record at a name already configured as a CNAME. What should you inspect first?
Answer and reasoning
Check the exact intended owner and service-supported alternatives. Ordinary TXT and a CNAME cannot share the same owner. If a distinct verification label is supported, placing it there preserves the working alias.
A browser still displays the original name after a CNAME points to a new provider. Which change would intentionally replace the visible URL?
Answer and reasoning
A supported HTTP redirect from the original named service can communicate the next URL. Its DNS and TLS path must work to get that initial response. The CNAME alone locates a service via another name.
A valid CAA row names your issuer. Which remaining step proves visitors actually get the intended certificate?
Answer and reasoning
Verify the certificate presented during an ordinary authorized HTTPS connection for that exact hostname. CAA informs issuer authorization, while the TLS endpoint still has to be configured to present a suitable certificate and proof of its identity.
Both authority and recursive results show the desired A, but old content appears. What other evidence would help?
Answer and reasoning
Check the actual named request, selected address family, origin behavior, certificate endpoint and body. A DNS result tells you about the queried family and record. It does not identify the cache or application handler that returned the visitor's page.
Cards for changing a record safely
Ask by owner and type
Use the full record owner and the type the client expects. A and AAAA are different questions for different address families.
Keep alias owners compatible
A CNAME refers to another name and cannot sit beside other ordinary records at the same owner. Check the required apex data and the provider's eligible alternatives.
Trace mail through its target
MX identifies the receiving service by name and preference. TXT can carry separate verification and mail-policy data. An inbound MX and outbound policy answer different questions.
Read parent and child
The parent delegation points to the authority. The child publishes its own zone data. Check both before moving that responsibility.
Use TTL with the observation
Record the type, old value, earlier lifetime and resolver. Compare the intended authoritative result before concluding that an older cache explains what you see.
Official references
- IETF common resource record data and message structure
- Record sets, canonical names and TTL clarifications
- AAAA and IPv6 address data
- CAA authorization and issuer processing
- Null MX and no-mail behavior
- SPF TXT policy and mail sender identity
- DKIM signatures and public-key DNS lookup
- Negative answers and SOA lifetime
- Route 53 record data formats and scoped provider behavior
- Route 53 Alias comparison and supported targets
- IANA-managed reserved example domains