Ravindra BagaleCourses & study guides मराठी Track your progress

Chapter 9: Domain Names, DNS and Subdomains

AWS Cloud

Interview Questions

Practice explaining DNS in a cloud or DevOps interview. Name a relevant check, describe its output, and say what result would change your next step.

Q1. Explain how DNS resolution works when you type a URL.
The client uses the URL hostname and may already have a usable answer. A recursive resolver can follow referrals or cached delegation to the relevant authority. The client connects to a selected address and port, verifies TLS for HTTPS, and then requests the intended host and path.
Q2. What is the difference between an A record and a CNAME?
An A record maps a name to an IPv4 address. A CNAME maps a name to another name, which is then resolved. A CNAME can't be used at the zone apex or alongside other records for the same name.
Q3. What is TTL? How would you plan a server migration with minimum DNS delay?
TTL is the published time to live for caching a record. If the plan calls for a lower value, lower it in advance and account for previously cached data. Test the intended new endpoint and keep the old one available as planned. Separate address TTL, negative caching and delegation caching.
Q4. What is the difference between a registrar and a DNS hosting provider?
The registrar registers and renews the domain and stores which name servers are authoritative. The DNS host runs those name servers and answers queries with your records. They can be the same company or different ones (GoDaddy registrar + Route 53 DNS).
Q5. How do you host blog.example.com on the same EC2 instance as example.com?
Add the blog name at the active DNS authority with a target appropriate to the frontend. Configure the approved named route on the web service and certificate coverage for any public HTTPS URL. Verify the exact name and a unique blog page marker alongside the existing catalog.
Q6. Why use an Elastic IP or load balancer for DNS records?
An automatically assigned EC2 public IPv4 address commonly changes after stop and start. For a direct IPv4 design an Elastic IP can provide a stable account-allocated address. For a managed frontend use its supported DNS target. Consider addressing, lifecycle and cost separately.
Q7. What is a Route 53 Alias record?
A Route 53 Alias can return address or other applicable data for supported AWS endpoints or eligible same-zone records, including configurations at the apex. It follows the actual resource’s supported DNS behavior. Check published pricing for the specific target type.
Q8. Which commands do you use to check DNS?
Start with full A and AAAA queries for the exact name. Read status, answer, server and TTL. Compare actual authority and affected resolver when results differ. Use a delegation trace for a distinct question and remember it depends on the client’s direct DNS path.

Answer with a small example and the evidence you would collect

Picture an interview for a first cloud support role. The interviewer says a dairy moved its pickup site and some customers still reach the old version. A memorized definition of DNS can start the conversation, but the interviewer can ask what you would look at next and what result would change your mind. A useful answer supplies the meaning of a term, the reasoning that connects it to the customer’s symptom, and a specific comparison you can explain.

Practice in pairs. Present a sixty-second first answer aloud, then open the worked response and deal with the follow-up. If you need another input, say which one. A DNS question can depend on which view the customer uses, what exact record type is failing, and where HTTPS terminates. Stating a clearly bounded assumption makes your answer easier to test. A command name helps when you explain its input, what the output would show, and which other claims still need evidence.

All examples use reserved names and addresses for the fictional Mauli Dairy. The team sends customers to a catalog and a separate pickup path, and the same domain is used for mail. Keep the actual printed hostname and path in view while talking. Many interview mistakes come from verifying a convenient name and assuming it proves every alias, address family or application under the zone.

Explain names, control and cached answers

Walk me through a first visit to a website’s HTTPS URL.

I start with the URL. The client uses the scheme and host to determine the connection it needs and extracts the name for resolution. It may already have a usable answer through a client or recursive cache. Otherwise, a recursive resolver obtains the required information. It can follow cached or newly discovered delegations, starting from the root when needed, to the top-level domain and the authority for the relevant zone. It follows any relevant alias name according to the response and can retain the result for as long as its caching rules allow. A and AAAA data are address information, not page contents.

The client tries a network connection to the selected address and port. In an ordinary HTTPS visit, TLS comes before the HTTP request. The client verifies that the public certificate is acceptable for the expected name and trust rules, and then sends the relevant request data such as host and path. If the site uses shared infrastructure, the same address could take users to different web experiences depending on those request details. In my example a lookup can find the current dairy frontend while an old pickup path still returns 404. I would show the DNS observation and the final named HTTP outcome separately.

If the interviewer asks whether the root is always contacted, I would say a recursive resolver often already has usable data or delegation information. Different client software can use different resolution routes too. I would avoid implying a fixed cache lookup order for every application. My initial diagram is an example path for needed resolution, not a packet capture of every browser visit.

Who controls a domain that is registered at GoDaddy and hosted on AWS?

I would ask what “hosted on AWS” means here. The applicant may be using AWS only to run the site, or to run its authoritative DNS too. A registrar manages registration and settings such as the parent delegation. A registry operates the relevant top-level namespace. The active DNS provider publishes the zone’s record data, and the web host responds to application requests. Different companies can occupy the registrar, DNS and website roles without forcing a transfer of the registration.

For example, imagine that GoDaddy is the registrar, the parent delegates to Route 53, and the public address uses a managed load balancer. I would find the active assigned Route 53 nameserver set before changing the address records, even if an older zone still appears at GoDaddy. To update the website listener I would use the approved cloud service configuration. To renew the registration or change its nameservers I would use the authorized registrar account. The single phrase “control the domain” is too broad to identify the correct task.

For a follow-up about a recently saved record, I would compare the parent’s active delegation with the assigned set shown in the edited hosted zone. Then I would ask for the exact record and type at the listed authoritative servers. This confirms whether the intended authorities have the change. A dashboard screenshot is useful configuration evidence, but it does not establish that a public resolver will ask those servers or that no cached answer remains.

How do A, AAAA, CNAME and a Route 53 Alias differ?

An A record carries an IPv4 address, and AAAA carries an IPv6 address. A CNAME makes its owner an alias of another DNS name. A resolver follows the relevant relationship to obtain the needed data. An ordinary CNAME cannot coexist with other ordinary data at its own name, which makes it unsuitable for the zone apex that also requires SOA and NS records. This is a property of the record type, not a setting specific to an EC2 instance.

Route 53 has a provider-specific Alias feature that can return appropriate DNS answers for supported targets, including selected AWS resources and eligible same-zone records. The Alias option can be used at the apex for eligible targets. It is not a general instruction to make an apex CNAME to any third-party name. For a managed load balancer I would choose the documented target name or eligible alias rather than copying one current address value from a lookup. At a non-apex owner, a regular CNAME can be appropriate when the provider and the rest of the record set permit it.

A good follow-up is the difference between an alias and a redirect. A CNAME helps find the destination. If the customer still requests the original host in the URL, the frontend has to accept that host and provide an acceptable certificate for it. A redirect is an HTTP response that tells a client to request another URL. If the requested initial address is HTTPS, its initial connection needs to complete certificate verification before the redirect can happen.

What does TTL mean, and how does it affect a migration?

TTL stands for time to live. DNS records carry TTL values that influence how long an answer can be cached and reused. Two customers can use two recursive resolvers that fetched data at different times. Their old cached answers can have different remaining lifetimes. Reducing the TTL on a record at the time of cutover does not reach back into caches and rewrite an answer acquired under the previous value. Where a planned migration calls for a lower TTL, I would publish that lower value in advance and account for the earlier cache window before relying on it.

Suppose a resolver obtained the old address at 08:30 with 1,200 seconds, and the correct authority published the new address at 08:35. At 08:39 the earlier cache could still have about 11 minutes under the simplified calculation. I would confirm the actual authority now returns the intended value and inspect the affected recursive answer and its remaining TTL. If the authoritative result is still old, I would investigate zone selection or publication before waiting for a resolver to change. I would keep the old frontend useful while the approved plan expects it might receive traffic.

In a nameserver move, cached delegation is another dependency. If a name had no data before creation, a cached negative response can matter even though the current positive record has a different configured TTL. A strong answer talks about which specific data can be cached, where, and from which earlier response. I would avoid promising that every DNS-related delay has one propagation timer.

Describe a deployable plan before picking a command

How would you host a blog and a catalog on the same web frontend?

I would start with two exact names on a service sheet. The catalog name may be the apex, and the blog can be a label under the same zone. Both names can find the same approved address or managed frontend. The listener must intentionally recognize them. On a direct Nginx deployment a named virtual host can choose the correct document root for each one. A managed frontend can use its equivalent custom domain and routing mechanism. I would also define a default behavior for unknown names without deleting another application’s existing route.

With public HTTPS I need certificate coverage for each advertised exact name at the actual TLS endpoint. A common certificate can list both names, or the listener can select separate ones. I would test a request for each name and its unique page marker, including a test of a current unaffected route if the service is shared. A response of 200 from the IP address alone does not tell me which virtual host a visitor reaches. During a rollout I could test a named route against a candidate address using a scoped override, then check the ordinary public visitor path later.

If the interviewer moves the blog to a managed service on another provider, I would confirm the exact DNS target and its custom hostname verification requirements. The apex and the blog can remain in the same authoritative zone even though they use different endpoint operators. The blog can also require its own certificate maintenance workflow. I would preserve existing mail records and confirm that only the blog name is changed unless there is explicit wider authorization.

When would you prefer an Elastic IP, and when a managed endpoint?

An automatically assigned EC2 public IPv4 address commonly changes after a stop and start. If the design really is one internet-facing server with a stable account-allocated IPv4 address, an Elastic IP can satisfy that address requirement. It has its own allocation, association, regional scope and cost considerations. The address alone cannot make an instance serve a site. I would still confirm public routing, access and a named web listener for the intended application.

If the public frontend is an Application Load Balancer, I would use its supported name or a Route 53 Alias where appropriate. The load balancer can act as the public listener and forward to separately managed targets. Copying its current address out of a lookup defeats the benefit of following the service’s supported DNS endpoint. A private instance behind that frontend should normally be reachable according to its approved target design, rather than needing a direct public IP just because the domain is public.

I would also ask what the service needs for IPv6, change availability and recovery. An Elastic IP in this context is IPv4. A separately advertised AAAA requires an intended and verified route of its own. Moving an address association can change which system gets new connections, and the change can affect active connections. I would compare options by the required public endpoint, lifecycle and blast radius. There is no universal recommendation to allocate a new address before learning the site design.

Which certificates do you need for a wildcard DNS name and an HTTPS redirect?

I would list the exact requested names first, including names that only redirect. For *.pickup.dairy.example.test as a certificate identity, the wildcard fills one complete leftmost label. It can match east.pickup.dairy.example.test. It leaves the base pickup.dairy.example.test and deeper names such as north.east.pickup.dairy.example.test outside its scope. I would check actual SAN entries and choose explicit identities for additional names that matter.

DNS wildcard rules are separate. DNS can sometimes synthesize an answer when a matching source at the appropriate existing ancestor is available. A name resolving via DNS proves no certificate coverage. A redirect also happens within HTTP, after a normal HTTPS client has verified the initial requested hostname. If both the redirect source and target use HTTPS, I would test the source’s identity and response and then the final URL on its own terms. The certificate coverage might be shared if the same deployment has the right SANs for both.

For public issuance, I would choose the issuer’s validation method and identify the deployment location. Let's Encrypt uses DNS-01 for wildcard issuance and offers HTTP-01 for suitable ordinary names. The validation success is separate from whether the public listener has started serving the new certificate. I would check an external connection normally with verification enabled, including its expiry, exact name and expected application marker.

How would you move authoritative DNS without interrupting mail?

I would begin with a reviewed inventory of all required current records and services, not only the website. Mail can use MX target names, relevant address data and provider-required authentication records. Other teams may use TXT verification or delegated subdomains. Check whether DNSSEC is active and coordinate the supported provider sequence for changes to the child signing and parent DS relationship. Treat registration transfer as its own decision. A DNS hosting move can leave registration with the same registrar.

Build the new provider’s zone and compare what the old and new authorities answer directly for the records in scope. Provider-created apex NS and SOA identify the respective zones, so those need to be correct for each provider. They are not arbitrary service records to clone byte for byte. In the planned window, update the delegation with the authorized registrar settings, keep the existing authoritative service available, and monitor both DNS outcomes and dependent services. Choose rollback and old-zone retirement conditions before changing the parent path.

If mail stops after the move, I would ask whether the symptom involves inbound routing, mail authentication or another part of delivery. A missing MX target is a different clue from a missing DKIM TXT selector. I would compare the exact required name and answer with the mail provider and ask its owner to verify recovery. A browser reaching the correct site is evidence only for that distinct service dependency.

Talk through disagreeing observations with a second question

The affected resolver says NXDOMAIN and the authority has an A record. What could explain both?

I would first confirm that the exact fully qualified name and query type match. A typo and a relative search suffix can create a different question. Then I would verify that the server being called authoritative actually serves the zone assigned by the current parent, and if there are multiple authorities, compare their replies. Once those checks agree, the affected resolver may be using an earlier negative result or a separate DNS view. A corporate VPN or an internal zone can intentionally produce different answers from the public path.

To distinguish the explanations, I would collect the affected resolver and current authority responses with time, flags and authority data. I would ask when the record was created and whether an earlier lookup occurred. NXDOMAIN is a name error. A response with NOERROR and no relevant records can instead mean that the name exists but does not have the requested record type, when the rest of the response supports that interpretation. A referral can also have an empty answer. I would avoid saying “NXDOMAIN” based only on a blank short display.

If the intended private view lacks a planned record, I would work with its owner to correct that scoped configuration. If current valid public answers are only waiting on an independently expired cache window, I would arrange to re-test from the affected path. Clearing a laptop’s cache may not help if the recursive resolver it uses still holds the old result. The successful test needs to run through the actual audience’s resolution path.

The service is healthy over IPv4. The IPv6 request times out. Which layer earns the next check?

I would confirm the public AAAA value and expected IPv6 destination, then ask whether my test client can make intended IPv6 connections. A valid DNS record supplies an address but does not establish that its listener and route can serve. If a named IPv6 request stops while connecting, I would inspect the intended endpoint’s protocol, network path and access settings. The IPv4 success gives a control for part of the application, but it cannot prove the IPv6 path reaches the same listener.

On a deployment with an Application Load Balancer, I would map the public endpoint and target leg separately. A security setting on a private target could be relevant to health or forwarding, but opening direct public access to that target would change the architecture. I would start at the first failing connection and work through the approved listener and route. If the request does return a TLS warning rather than timing out, that is a new piece of evidence and calls for checking the certificate presented on that path.

I would measure recovery through both advertised paths from appropriate clients. My test notes would say how the earlier diagnostic forced one family, and the final everyday request would use the original URL normally. If the organization intends to support both families, a successful result should cover both. A single family selected by my computer cannot stand in for an observation of the second path.

The exact URL returns 200 but it displays the wrong page. Is DNS at fault?

I would treat DNS as one candidate until I compare the destination with the intended address. The status shows that some web responder delivered an HTTP success. It does not identify the service selected. Keep the exact host and path. Use a controlled named request to the current and intended frontends if authorized, then compare the markers and logs. The bare IP can select a default website and an HTTPS request needs its original URL host for the correct TLS identity check.

Suppose the actual address is correct. A shared listener may have used a fallback because the exact host was not configured. The right host with the wrong path can likewise reach the application’s generic page. I would check frontend routing data for the real host and path and compare it with the application log. If there is a redirect, inspect each hop’s status and destination. These observations tell me where the wrong content entered the customer route.

If the configured name is missing, I would propose the smallest change in that listener and include a control test for an unrelated approved site. I would preserve the prior configuration and test the candidate before an authorized reload. Then I would repeat the same original request and observe the expected response marker. The verification criterion is the site and route the customer needs, not the presence of another 200.

Can a 502 or 504 tell you who changed DNS?

No. A 502 or 504 is an HTTP result from a responding component. In the ordinary gateway case, a 502 indicates an invalid or unusable upstream response and a 504 indicates an upstream timeout. The client therefore saw an HTTP responder. The DNS information could still have led to the wrong frontend, so I would confirm the public destination. Once the intended gateway is confirmed, I would examine the target and error records it has instead of assuming the nameserver needs to change.

Suppose a rollout added the named route but the backend process stopped accepting requests. The public HTTPS listener might continue to present a valid certificate and report the gateway failure. Compare the gateway’s intended upstream endpoint and accepted port with the application’s process and relevant logs. If a managed service reports failing targets, inspect its health logic, target configuration and path before applying a change. A health route can succeed while one business route fails, so test the actual workflow afterwards.

I would also avoid identifying error sources by status alone. The public service can generate an error, or forward an error from another component. Use the expected timestamp and request correlation evidence to distinguish them. A brief answer that identifies the earliest verifiable failure and the owner of the next check is stronger than a long list of commands.

Defend your choice of test

Why might a recursive lookup work even when a delegation trace from your laptop fails?

I would start by naming who sends the queries. An ordinary recursive lookup asks a configured resolver for an answer. That resolver can answer from its cache or talk to the authorities using its own network path. A trace from the local tool speaks directly to servers in the delegation chain as it discovers them. A network can allow the company resolver to do that work while blocking direct DNS requests from a laptop. The recursive answer and the trace can tell different stories under those conditions.

I would capture the exact point where the trace stopped and check whether the explicit direct query was permitted. I would verify the response from the resolver used by the client, then request a permitted authoritative observation or compare with the provider’s published server list. If direct queries work only from a specific approved network, I would state that limit. A trace error that says it could not reach a server does not by itself establish the parent domain has no published delegation.

In a follow-up, I would distinguish the settings behind a recursive query. A public recursive resolver is a useful independent viewpoint for a public name when policy permits it, but it could never answer exactly like a company-only DNS view. I would diagnose the original customer path first, then explain what the separate viewpoint can confirm and where it deliberately differs.

Which details would you keep in a DNS troubleshooting ticket?

I would record the queried hostname and type, whether it was an absolute name, which server was contacted, the response code, relevant flags, answer and authority records, and the time. I would preserve TTL information if the comparison is about stale data. A screenshot showing one current IPv4 address is insufficient when the problem might affect IPv6, another name or a cached negative result. A diagnostic can often reveal these fields even when a normal application error message has only a few words.

Then I would name the source of each observation. An authoritative response from the active assigned nameserver tells me what that server publishes. A corporate recursive response can give the expected internal answer or a still cached public one. A client lookup can involve another resolver policy. Compare the stage and vantage point before assuming that disagreement is a faulty setup. I would include a minimal safe extract, not account credentials or configuration for unrelated services.

For a full website incident I would connect one lookup with the actual request. Record hostname, path, scheme, status, endpoint and small harmless marker. I would not send the interviewer a real customer receipt. If I can verify the original result twice before and after the same scoped fix, my record offers more evidence than several independent commands run against unrelated names.

A new zone publishes records, but validating resolvers produce SERVFAIL. What would you check?

I would confirm that the two observations ask for the same name and record, then distinguish a current authoritative answer from a validated public result. DNSSEC ties child zone signatures to a parent DS record as part of a chain of trust. If a DNS migration leaves a parent DS for the previous zone’s signing configuration, data may look present at the new authoritative servers while validating resolvers are unable to accept it. This is an example hypothesis, not the only reason SERVFAIL can occur.

Compare the current parent delegation and DS state with the new provider’s expected signing configuration and the DNS diagnostics available from an affected validating resolver. Use the registrar and DNS owners’ approved recovery procedure. The planned handling of DNSSEC depends on the chosen migration method and provider support. I would preserve the exact evidence, including whether the result persisted across validating clients, before making another change to delegated authority or signing.

For a follow-up about a test where validation is bypassed, I would explain the scope. It may help isolate why a response can be obtained from one path and rejected by another. It cannot be the acceptance test. Closure requires normal resolution through the organization’s intended trust policy, followed by the ordinary customer web and service checks after any relevant caching window.

How would you verify a redirect without overlooking the actual customer path?

I would begin with the given source URL, including scheme, exact hostname, path, and a harmless example query if the application expects one. Make a regular verified request against that source with no automatic following initially. Record the returned status and Location. Then follow the expected destination through its required route, check the final hostname’s TLS identity when applicable, and validate the page or action marker the business asked for. The start and end are both part of acceptance.

Suppose the dairy initially tests the root and sees a good redirect to its bare hostname. A receipt link at a particular path might still lose that path because the rule uses a fixed destination. Repeat the same named test for the receipt before approving it. A follow-up might ask about method changes. HTTP semantics differ among redirect status codes and clients can change how a request is repeated. For an operation involving state changes, use an approved test environment and a method-specific design rather than replaying a production purchase as a check.

Lastly, I would compare candidate and normal customer paths. With a scoped override I can confirm the new frontend behaves correctly before changing the public record. With an ordinary request I can check that an external client actually uses the intended service. A control hostname on the same public listener can show that the scoped rule did not accidentally alter another site.

How do you tell an inbound mail DNS problem from a website DNS problem?

I would first define the failed action. A web browser looks for its named frontend and sends an HTTP request. A sending mail service looks up MX data for the recipient’s domain and typically resolves the chosen target before attempting delivery. Different records under the same domain can therefore support independent services. A cutover that preserves the website record but loses the intended mail address can yield a successful website and failing delivery.

Check the current mail provider’s intended MX values, dependent target addresses, and any provider-required verification or authentication records for the specific symptom. Read the recipient system’s diagnostic or delivery report with sensitive details removed. Inbound mail routing, an outgoing signature validation issue, and a website timeout need distinct follow-up checks. A missing MX is also different from an explicit null MX for a domain that deliberately accepts no mail. Avoid inventing a target when the provider’s intended configuration is unknown.

For acceptance, I would coordinate a harmless approved delivery check with the mail owner and separately verify the exact customer-facing web URL. If the domain is in the middle of a DNS authority migration, I would compare both provider views while still available. My report would state which outcomes were observed and which depend on a team that has not tested its service yet.

Rehearse four staged incident cards with a partner

Run this optional local Python 3 block to print four evidence packets. It formats classroom observations and the next checks for discussion. The data is fixed and synthetic. There are no DNS queries or service changes. The reason to run it is to practice stating a precise difference between two observations while they are visible together. One partner reads the first line and asks what you would check. Reveal the comparison only after the initial response.

python3 - <<'PY'
from dataclasses import dataclass

@dataclass(frozen=True)
class Observation:
    label: str
    stage: str
    outcome: str
    detail: str

cases = [
    (
        Observation("A", "dns", "NXDOMAIN", "affected recursive resolver"),
        Observation("A2", "dns", "NOERROR", "active authority has the intended A"),
        "Compare resolver view and earlier negative cache.",
    ),
    (
        Observation("B", "tcp", "TIMEOUT", "intended IPv6 destination"),
        Observation("B2", "http", "200", "intended IPv4 path has the marker"),
        "Investigate the IPv6 listener and network path.",
    ),
    (
        Observation("C", "tls", "NAME_MISMATCH", "correct public address"),
        Observation("C2", "tls", "MATCH", "bare alias has valid coverage"),
        "Inspect certificate selection and coverage for the exact failing name.",
    ),
    (
        Observation("D", "http", "200_WRONG_BODY", "shared frontend"),
        Observation("D2", "http", "200_EXPECTED", "other host works on same listener"),
        "Check virtual host and path selection while preserving the control site.",
    ),
]

for primary, comparison, next_check in cases:
    assert primary.label + "2" == comparison.label
    print(f"{primary.label}: {primary.stage} {primary.outcome}; {primary.detail}")
    print(f"   Compare: {comparison.stage} {comparison.outcome}; {comparison.detail}")
    print(f"   Next read-only check: {next_check}")

assert {first.stage for first, _, _ in cases} == {"dns", "tcp", "tls", "http"}
print("Four different observed stages. No network calls were made.")
PY

In case A, the resolver reports a name error while the displayed active authority has a usable answer. The next read-only check should compare the views and timing. The script labels it as a comparison, so you can still discuss which active authority set and asked name need confirmation. In case B, a known IPv6 attempt times out while the intended IPv4 path serves the marker. Use the family-specific evidence to decide what listener and network path to compare. Avoid using the healthy path as a full substitute for the failed one.

In case C, the correct public address serves a name mismatch for an exact alias, while another host’s handshake works. Identify the expected certificate name and the actual selection. In case D, a shared listener responds over HTTP with the wrong marker. Inspect the intended HTTP host and path and keep the other working site as a control. Explain how a successful connection differs from a successful customer experience.

After the first round, score each answer on three observable qualities. Did you name the first failed stage without guessing past the data? Did you choose a test that compares the failing path with a meaningful control? Did you state exactly what would count as recovery for the original customer? Give one point for each. A correct command with a wrong interpretation does not satisfy the evidence criterion. If a test bypasses public DNS or uses one particular address family, say so openly.

Use one variation on each card. Switch the authoritative answer in case A to NXDOMAIN and explain why a cache conclusion becomes weaker. In case B let the IPv6 connection complete and return a TLS error, then change the first failed stage. In case C replace the name mismatch with an unknown issuer and explain the different checks. In case D give the same response marker to both sites and identify stronger evidence to distinguish them. The script creates no persistent state. Keep only the reasoning notes you want to rehearse.

Check five follow-ups you can answer without guessing

  1. Will a command that returns the right A address prove which certificate the customer receives?

    Answer and reasoning

    No. It supplies an address for one family. Check the named TLS connection through the intended route and inspect SAN, trust and validity, then verify the HTTP outcome.

  2. A registrar change is not requested, but the team wants Route 53 to answer the zone. What needs to move?

    Answer and reasoning

    The authoritative DNS service and its delegated nameserver assignment, under an approved migration. Registration can stay with the current registrar. Prepare matching service data before updating delegation.

  3. If the DNS lookup output is blank in short mode, which word should you resist using prematurely?

    Answer and reasoning

    Resist saying NXDOMAIN until the full query actually reports a name error. Ask for the name and type and interpret status, answer, referrals and failure data together.

  4. A wildcard certificate has *.pickup.dairy.example.test and neither of the deeper or base names separately. Which is covered, east pickup or the pickup base?

    Answer and reasoning

    East pickup matches exactly one leftmost label. The base needs an explicit compatible identity, and a deeper name needs coverage whose shape matches its labels too.

  5. The interviewer asks why a successful command after a forced address still leaves a question about migration. What distinction will you explain?

    Answer and reasoning

    The forced-address test checks what one candidate does with the original name and path. It deliberately replaces the ordinary public DNS destination choice. Repeat using the customer’s resolver and public route to prove the intended normal experience.

Cards for concise interview answers

Name to address to page

A DNS result is address information. An ordinary HTTPS connection next verifies service identity, then the HTTP host and path select the response.

Ownership of the current zone

Registration and DNS hosting can be separate. Verify parent delegation and active authoritative answers before trusting a provider panel.

Cache timing

Lowered TTLs apply to newly acquired responses. An older positive, negative or delegation answer may retain its own cache window.

Candidate versus customer

A named test with a scoped destination override isolates the server. An ordinary customer path tests DNS and the expected frontend together.

Acceptance marker

State the full expected URL, correct status or redirect, identifiable response and any dependent services that need separate checks.

Official references