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

Chapter 9: Domain Names, DNS and Subdomains

AWS Cloud

9.12 Troubleshooting domains

Friends, copy the exact customer URL and its symptom. Use this table to choose the next confirming check before applying a change.

Symptom What could explain it Next confirming check
dig +short prints no answer The name may not exist, the requested record type may be absent, or the resolver may have failed to get an answer Run dig NAME A without +short and read the status. Compare the authoritative servers and ask for the intended record type before changing settings.
A query shows an old or parked address The active zone may still publish it, or a resolver may be using an earlier answer Compare current authoritative A and AAAA records with the affected resolver and TTL. Check whether any forwarding is intentional before changing its provider settings.
A saved record is absent from ordinary queries The registrar and active DNS provider could differ, or the account may contain an inactive zone Confirm parent delegation and query the matching authoritative servers for the exact name and type. Compare the assigned server set with the zone you edited.
The name resolves and the browser times out The address family, destination, listener, or network path may differ from the intended route Reproduce the named request from the relevant network. Check where it stops and verify the expected port, listener and access rules for that component.
The correct hostname shows a default page The request may have reached a different destination or a default host rule on the intended listener Compare the named request, active listener mapping and unique response marker. Keep other sites and default rules in scope only as controls.
The www alias works but the bare name fails, or the reverse Address, certificate coverage, or HTTP routing may differ by hostname Check both exact names separately across DNS, HTTPS identity and intended page or redirect. Choose records and listeners appropriate to the hosting architecture.
The same URL works on mobile data and fails elsewhere Resolver data, DNS view, address family, proxy, trust or route may differ Compare exact URL, DNS responses, destination and verification error. Identify the affected client path before attempting any cache or network change.
Certificate validation times out or reports a DNS name error The expected DNS name, challenge path, or validation listener could be missing Identify the challenge method. For HTTP-01 check the exact public host and challenge path starting on port 80. For DNS-01 check the required TXT answer at the active authority.
Email stopped after moving DNS Mail routing, target addresses, or provider-required authentication data may be missing Compare the active zone with the current mail provider’s inventory. Verify mail separately with its owner.

Ravindra Bagale's Tip

Start with the exact customer URL and the expected page. Compare active DNS and the affected resolver, then the named connection, certificate and HTTP result. Stop at the first difference that explains the evidence.

Lab

Run the temporary local fixture below. Compare the old frontend’s 200, the current pickup redirect, a missing path, and a connection with no HTTP response. Use the exact hostname and the response marker to decide where each investigation belongs.

Start with the customer’s failed trip to the site

Mauli Dairy changes its pickup website on a Tuesday. Three people report that the domain is broken. One sees last week’s catalog, one sees a certificate warning, and one sees a 404 for a link on an old receipt. The statements sound alike while the evidence points to different parts of the request. The job starts by making one customer experience specific enough for someone else to reproduce.

Ask for the exact URL, approximate time, network context, and the visible result. A URL contains a scheme such as HTTPS, a hostname such as pickup.dairy.example.test, and a path such as /pickup/today. Keep the path for your test. A pathname copied from a receipt is part of the failure even when the homepage is healthy. Replace any access token or personal information before storing the report. Write down whether the client reported a name error, a long wait, a browser identity warning, an HTTP status, or a page whose content looked wrong.

Add the expected result in plain words. The checkout team expects a public request to reach the current endpoint, verify the advertised HTTPS name, and display the dairy pickup marker. If the URL is old, the team may instead expect a deliberate redirect and the current pickup marker at the end. Your incident record should let the cashier distinguish a restored customer journey from a command that merely returned success.

Trace the ordinary fresh request in order. A name first leads to an address. The client then attempts a connection to a port. With HTTPS it establishes a verified secure channel and checks the service identity. The HTTP request then reaches a host and path that a frontend or application selects. Tests can jump directly to one layer to isolate a difference, so keep track of which earlier decisions your test deliberately bypassed.

Make a small ledger as you work. Each row should state the test location, time, full URL or DNS query, the result, and one inference. “At 09:12 from the office, the recursive A answer was the old address with 112 seconds remaining” is usable evidence. “DNS broke again” hides the resolver, record type and answer. Save an observation before making an edit. Once the team changes several settings simultaneously, it may lose the ability to show which change repaired the symptom or how to reverse a mistaken assumption.

Find which DNS view produced the answer

A recursive resolver obtains answers for a client and can retain them for reuse. An authoritative server publishes data for a zone. The DNS provider dashboard is a configuration view. You may need all three to explain a result. The dashboard you edited can exist without serving the delegation customers currently use. A recursive answer can be old even when the active authoritative servers have the new record. Two different observations may describe consistency at different points in the system.

Use the complete answer when diagnosing. On a name you are authorized to check, ask for its A and AAAA records and keep the response status, answer, server and TTL. An A record carries an IPv4 address and an AAAA record carries an IPv6 address. A short listing can hide an important distinction. NXDOMAIN is a name error. A NOERROR response without the requested data can be a NODATA result when the name exists but that type is absent. SERVFAIL means the server could not complete the query successfully. A query that receives no reply is another observation, often with a local tool timeout.

An empty answer is also observed in a referral, where a server directs the query toward a delegated child. Check the authority section and flags rather than treating every empty answer as NODATA. Start with the intended fully qualified name, including a trailing dot in a DNS tool when appropriate. Review the labels, requested type and zone. A DNS panel can use a short label relative to a zone, while a query asks for the entire name. Compare what actually got saved with the exact address the customer typed.

The DNS proof sequence for a stale answer begins by identifying the active parent delegation. Ask which servers the parent delegates the zone to and check the answers from those authorities as appropriate. When directly querying a listed authority, request the exact record with recursion disabled and read the response fields. If the active authorities agree on the new target, compare an affected recursive answer and its remaining TTL. If an active authority still answers with the old address, focus on the zone edited and provider publication. Waiting on a workstation cache cannot fix an authoritative error.

Be careful with a recently created host. A recursive server that looked it up before creation can retain a negative result. Its expiry can behave differently from the current positive record’s configured TTL. After a nameserver cutover, a resolver can also have an older delegation cached independently of the A record. Look at each old observation and when it was acquired if you can. Repeatedly changing a TTL value in a panel cannot shorten a value someone had already cached under the previous settings.

If a name appears to behave differently inside and outside the organization, ask whether the two clients are supposed to use distinct DNS views. A public endpoint and a private hosted zone can intentionally give different results. A VPN can supply an organization’s own resolver. A browser can use separate resolver settings. Collect both views from planned clients and state which one the failing customer used. Changing public DNS because an internal-only record behaves as designed can break the intended public route.

Sometimes only validating resolvers return a failure after a zone migration. A stale parent DS or inconsistent DNSSEC setup can cause validation to fail even when the nameserver produces address data. DNSSEC adds verifiable signatures to DNS data, and a DS record helps establish trust from the parent toward the child. Ask the zone and registrar owners to compare the active delegation and expected signing state. Preserve the failing resolver evidence and use the provider’s documented recovery plan. Devices trusting the existing DNSSEC policy should be part of the recovery acceptance check.

Confirm which family and port can connect

A correct address record makes a destination available as an instruction. The client still needs an available network path and a service listening on the requested port. A direct EC2 site, an internet-facing Application Load Balancer, and a private target behind a public frontend have different paths. Draw the path from the affected client to the actual public endpoint before examining a firewall setting.

For the dairy, suppose the public route is visitor to load balancer to application target. Verify the public listener protocol and port first, then the intended target group and its health. The target may be expected to accept traffic only from the load balancer. Blindly opening inbound ports to all networks on the target is an unrelated change if the issue is an absent public listener. Document the intended source network, port, routes and associated security controls for that component. An operating system firewall and an AWS security group can both affect an instance path.

Where a client can reach IPv4 and IPv6, ask for both records and inspect the protocol actually used by failing requests. Use a deliberately single-family request as a diagnostic when the family is available, then compare the normal customer request. If IPv4 finds the new storefront and IPv6 reaches an older listener, repair the intended IPv6 route or record through the agreed change path. A family forced in a diagnostic command tells you the behavior for that family. No connectivity for that family from your own test location also calls for checking the client’s network capabilities before drawing a public conclusion.

A refusal can mean that no service is accepting a connection there or that some part of the path rejected the attempt. A timeout can come from a silent drop, a missing path, or an unresponsive listener. Check where your tool stopped and what its timing measures. A timeout waiting for an HTTP response after a connection differs from a timeout connecting. Narrow it with the endpoint’s access or connection logs and an authorized comparison from the relevant network location.

An internal check has a clear place in a layered investigation. A local health endpoint can show that an application process answers. A separately governed external request shows what the public path does. If the application marker succeeds locally but the intended external listener fails, inspect the layer between them. If target health checks are failing, compare their configured protocol, path and status expectations with the current application. A stock login page or a host-dependent redirect can produce surprises where a simple explicit health route was expected.

Keep the URL name when testing TLS and HTTP routing

Once a client can connect over HTTPS, it needs a certificate acceptable for the original host. The public TLS listener can select a certificate using the name supplied during the TLS handshake. Different name coverage, issuer trust, expiration, or missing intermediate certificates require different fixes. Inspect what the actual public endpoint serves. A certificate installed on an EC2 instance behind an edge service can be perfectly valid while the CDN’s public certificate remains wrong for the customer-facing name.

A diagnostic by bare IP changes the URL identity and can choose a default service. Editing just an HTTP Host header is also too late to reproduce certificate selection correctly during HTTPS setup. When you need to compare two candidate addresses under the same URL, use curl’s host-and-port address override. Keep verification enabled for HTTPS. Compare the same hostname, path and method against the old and intended endpoints. Write down when you used an override because it is no longer an integrated test of public DNS.

For an ordinary GET, capture the status and a small recognizable marker. A header-only HEAD request supplies useful status and header evidence, but it does not show the page body customers receive. A default site can return 200. A redirect can preserve a useful path, drop it, point to a retired hostname or loop back. A targeted 404 can come from the expected application and accurately say that a path is missing. Treat each observation as evidence of where the request was actually sent and how far it got.

Check the message and the appropriate logs for gateway errors. A reverse proxy is the gateway that accepts the public request and forwards it to an application. A 502 often indicates that a gateway received an unusable response from its upstream or could not communicate in the expected way. A 504 indicates the gateway timed out waiting for an upstream. An upstream is the next service the gateway asks. Use the gateway’s records and target application records before choosing the fix. Changing DNS because an HTTP gateway already returned a reproducible error will usually bypass the evidence that can tell you what is wrong.

When watching more than one site on a shared public address, read the configured and active host mappings before touching anything. The default is per listener, and another team can rely on it. A named request that gets the default marker calls for checking the exact virtual host match, listener and configuration loaded by the service. An authorized change to one host can be tested with the target and a control URL from another host served by the same service. Preserve coverage for hosts outside the change.

Treat a mail outage as its own service journey

A website success after a nameserver switch can hide an incomplete DNS migration. The web browser asks which frontend address to use. A sending mail exchanger consults MX data to determine where mail should go. It then needs working target names with appropriate address data unless the published policy explicitly declares no incoming mail. Mail authentication can depend on separate TXT and other provider-directed records at particular names. A website move should account for everything that uses the zone.

Ask the mail service owner for the intended current data and evidence of the report. Is inbound mail delayed, deliveries bouncing, or outgoing messages rejected by receivers? An MX difference might explain an inbound routing problem. A missing DKIM selector record might affect signature verification for outgoing messages. Record the exact selectors in scope and observe the specific error related to the problem, without sharing message bodies or personal data. Compare old and new zone inventories alongside active authority answers.

Preserve or restore the independently approved mail records at the active authority when the outcome calls for it. Avoid copying an entire old zone into a newer provider without validating each dependency. Provider-managed apex records, signing data and intentionally changed application records require different handling. Coordinate with the team that owns the mail service and verify it separately from the browser page. A browser test cannot stand in for a harmless test message approved by the mail owner.

Compare a stale edge, a missing listener and a missing path

Run this guided incident on your own computer with Python 3 and curl. Two temporary HTTP listeners on loopback represent old and new destinations. A clearly marked pair of recorded observations models a situation in which the resolver retains the old answer and the active authority already has the new answer. The code supplies both target ports locally while keeping the exact same host in the URL. The DNS part is a model. The HTTP connections, redirects, bodies and paths are real exchanges between local processes. HTTPS certificate verification is practiced separately in the preceding lesson.

Before running the code, write a decision for each case. Would a status of 200 with the old frontend marker mean that the migration is working? If the new root route returns 302, what observation would show its destination is right? How could you tell the difference between a nonexistent path and a port with no web listener? Use the customer URL and intended application result from the ticket above. The program runs the comparisons with a host-specific override and automatically stops both listeners.

python3 - <<'PY'
from contextlib import ExitStack
from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer
import socket
import subprocess
import threading

host = "pickup.dairy.example.test"
base = f"http://{host}"
requests = []

def handler(release):
    class Frontend(BaseHTTPRequestHandler):
        def do_GET(self):
            requests.append((release, self.headers.get("Host"), self.path))
            if release == "old":
                status, body, location = 200, b"OLD FRONTEND\n", None
            elif self.path == "/":
                status, body, location = 302, b"", "/pickup/today"
            elif self.path == "/pickup/today":
                status, body, location = 200, b"DAIRY PICKUP TODAY\n", None
            else:
                status, body, location = 404, b"UNKNOWN PICKUP PATH\n", None
            self.send_response(status)
            if location is not None:
                self.send_header("Location", location)
            self.send_header("Content-Length", str(len(body)))
            self.end_headers()
            self.wfile.write(body)

        def log_message(self, format, *args):
            pass

    return Frontend

def request(port, path, follow=False):
    options = ["--location", "--max-redirs", "2"] if follow else []
    return subprocess.run(
        ["curl", "-q", "-sS", "--noproxy", host, "--max-time", "4",
         "--connect-timeout", "2", "--connect-to", f"{host}:80:127.0.0.1:{port}",
         "--write-out", "http=%{http_code} next=%{redirect_url}\n",
         *options, base + path],
        capture_output=True, text=True, timeout=6,
    )

with ExitStack() as resources:
    ports = {}
    for release in ("old", "new"):
        server = resources.enter_context(
            ThreadingHTTPServer(("127.0.0.1", 0), handler(release))
        )
        worker = threading.Thread(target=server.serve_forever, daemon=True)
        worker.start()
        resources.callback(worker.join, 5)
        resources.callback(server.shutdown)
        ports[release] = server.server_address[1]

    # Recorded DNS observations for the classroom simulation, not DNS queries.
    resolver_target = "old"
    authority_target = "new"
    print(f"Modeled DNS: resolver={resolver_target} authority={authority_target}")

    stale = request(ports[resolver_target], "/pickup/today")
    assert stale.returncode == 0 and stale.stdout == "OLD FRONTEND\nhttp=200 next=\n", stale
    print("Old destination:", stale.stdout.strip().replace("\n", " | "))

    intended = request(ports[authority_target], "/")
    assert intended.returncode == 0, intended
    assert intended.stdout == f"http=302 next={base}/pickup/today\n", intended
    print("New destination:", intended.stdout.strip())

    followed = request(ports[authority_target], "/", follow=True)
    assert followed.returncode == 0, followed
    assert followed.stdout == "DAIRY PICKUP TODAY\nhttp=200 next=\n", followed
    print("New destination with intended redirect:",
          followed.stdout.strip().replace("\n", " | "))

    missing = request(ports[authority_target], "/retired")
    assert missing.returncode == 0, missing
    assert missing.stdout == "UNKNOWN PICKUP PATH\nhttp=404 next=\n", missing
    print("Missing route:", missing.stdout.strip().replace("\n", " | "))

    with socket.socket() as reserved:
        # Reserve a port without listening. There is intentionally no HTTP server.
        reserved.bind(("127.0.0.1", 0))
        unavailable = request(reserved.getsockname()[1], "/")
        assert unavailable.returncode in (7, 28), unavailable
        assert unavailable.stdout == "http=000 next=\n", unavailable
        print(f"No listener: curl exit {unavailable.returncode} and no HTTP response")

    assert requests == [
        ("old", host, "/pickup/today"),
        ("new", host, "/"),
        ("new", host, "/"),
        ("new", host, "/pickup/today"),
        ("new", host, "/retired"),
    ], requests

print("Named request log matched five expected paths. Loopback listeners stopped.")
PY

The first output line is the simulated DNS evidence. The old listener then answers with status 200 and a marker that says it is the old frontend. The new listener responds to the root with a 302 and a specific destination under the same public name. Following it confirms 200 and the current pickup marker. You can draw arrows between two rows for that exchange. The first row has the original URL and the redirect. The second has the resolved destination path and the expected page.

Next the new listener sends a real 404 for a deliberately retired path. Curl completed the transfer, so its exit status is zero here even though the HTTP status says the route is missing. In a command that uses curl’s fail option, certain HTTP errors affect the process exit code too. Always record the flags you used. The last connection yields curl exit 7 or 28 on the non-listening local port depending on the network stack. The displayed 000 means curl observed no HTTP status at all. There is no HTTP status code 000 from the application in this fixture.

The program checks each host and path in the local request log. It also confirms that the too-early connection attempt never appears in a handler log. When the exercise passes, describe two paths that reached the expected frontend at the wrong moment or with the wrong URL. The request to the retired path reached the new frontend and failed at application routing. The stored record sent the purchase path to the old frontend, which happily returned a different page. Meanwhile the missing listener is a separate connection failure.

If the code exits early, compare the full error with the stage. A missing curl binary is an environment problem. A connection error while the two expected servers should be running calls for checking whether local network connections on loopback are allowed by your environment. If a status assertion fails, the captured subprocess output is available in the error. Do not create a public service to make the exercise pass. The context manager shuts down both local listeners even when an assertion fails, and the final line reports their closure on success.

Try one controlled alteration after reading the successful run. In the local handler, make the redirect target /pickup/yesterday while leaving the expected route at /pickup/today. Predict where the script will detect the discrepancy before you run it. Then reason about what would follow if someone ignored that check and just enabled redirect following. Restore the original target and re-run. This is the same distinction between confirming a change exists and checking the experience the cashier wanted.

Close the incident with a comparable before and after

Return to the dairy ticket with the original record. The old catalog case turns into a clear comparison. On one resolver the active cached answer goes to the old frontend. Direct authoritative evidence agrees on the new destination. A scoped named test of the candidate produces the correct route and marker. The next action might be to keep the old compatible frontend healthy until the known previous cache window has passed. Re-test through the affected ordinary resolver and customer URL rather than proving the candidate a second time.

The certificate warning is a different scenario. A valid new answer and an ordinary HTTPS request can reveal the wrong certificate on an edge listener. Confirm which listener or CDN has the name, whether it offers acceptable SAN coverage, and whether the current frontend actually presents the intended chain. Fix that approved listener or adjust its configured certificate through the owner’s deployment process. Then retest with default trust and the advertised HTTPS hostname. Keep records of the working chain and when its material should renew.

For a 404 with a valid connection, find the exact path and the intended service. If receipts point to a retired route, the website owner can decide between a redirect and a helpful permanent retirement page. Rewriting the domain globally can break newer receipts and other paths. Verify old and current links through the ordinary public URL. If the problem appears in the application logs after a valid TLS check, use them to distinguish the route, account permission or application errors involved.

Decide on an owner and a change boundary. The DNS account owner can confirm the active zone and its data. The networking owner can confirm the expected listener and routes. The web owner can trace the selected site and request. The application owner can confirm the customer workflow. On a small team the same person can hold every role. The boundaries still help them choose the right rollback and testing steps.

Write the smallest reversible change that addresses the verified layer. Capture the old value or in-scope configuration before editing. Know which signal would send you back to it. Where an address change has already been cached, restoration can take time to take effect across recursive resolvers. Keep the appropriate old service available when the migration plan allows. For a web config update, compare the affected virtual host and a shared listener’s control site after the change. An unrelated service on the same machine should still produce its own expected marker.

Close the loop with actual observations. Give the requester the exact test URL through the ordinary customer path, time, network context and result. If evidence is still pending for a remote location or address family, label the limited scope of your test. A confident report can say “the intended IPv4 HTTPS route is working, and we still need to verify IPv6 from a connected client.” That is more useful than restarting services or declaring every user recovered while part of the path is unobserved.

Keep reusable test evidence in a short incident record. Put the question first, such as “Did the printed pickup link return the current page?” Then show the observations, layer, chosen change, validation and owner. A future investigation can start from this known-good record. The records should contain harmless markers and times rather than sensitive customer data, private keys or unrelated configuration dumps.

Work through two reports with conflicting evidence

A new pickup hostname works on one network

Suppose the dairy replaces an old printed address with a new collection name. At 08:50 the cashier tries the new name and the office resolver has no such name. At 09:00 the correct team creates the record. By 09:05 the cashier’s phone can use it on mobile data but the shop device still reports an error. There are several explanations worth checking, including a cached negative response, an intentional view difference, or a client whose configured resolver cannot access the intended public view. The working phone is a clue that constrains your search. It is a separate client and network with its own cached answers.

First write down that both devices attempted the same spelling and scheme. A saved bookmark can send them to two different names even if both labels say “Pickup.” Ask the cashier to copy the address from the browser rather than describing the app icon. Determine which resolver the affected environment uses, with help from its administrator if necessary. Look for the exact queried name, address family and response in that context. An alternate resolver queried from the same device can show how another resolver answers, but that test bypasses the browser’s usual resolution choice.

Now compare the active authoritative response for the target name and type. Suppose the authorities agree on the A address. The office resolver reports NXDOMAIN with negative-cache evidence, and an independent resolver already returns the expected answer. Write that down next to the known inquiry before creation and current time. A workstation flush may merely ask the same recursive service for the same cached negative result. Wait according to the measured or expected negative caching interval and retest through the original path, or work with the owner of the caching layer if earlier action is necessary.

Suppose instead that the office resolver belongs to the company’s private DNS system and an internal zone with the same suffix intentionally hides some public names. The same two end-user observations would require a different fix. Ask the owners whether the new service is intended to be accessible from that view. Verify the correct answer under the public and internal policies, with no assumption that both must use a public destination. If the record should also exist internally, plan that small approved addition. Keep track of whether you are diagnosing cache timing or an actual missing record in the intended view.

Check the true end condition through the originally affected route. A usable A answer is progress. The bookkeeper still needs the correct named HTTPS pickup site and today’s expected content. Save a test receipt with a harmless order marker for customer support to use. Treat that verification as a single trace from the specific environment, and record any network variant that has not yet been covered.

Renewal looks healthy until one address is tested

Now imagine support says the bare dairy catalog always works, yet a subset of customers see an expiry warning on the pickup name. A person on the server runs an inventory command and sends the dates of a certificate renewed yesterday. Another administrator connects over IPv4 and sees those same dates. Use the receipt from an affected customer to check which hostname, network family and endpoint the public request reaches. A public IPv6 destination and a separate CDN path can each explain why an internal or IPv4-only test saw a different certificate.

Write one row per published family and expected endpoint. Capture a normal request and scoped family-specific tests from a client that actually has those paths. For the failing row preserve the served SAN, chain and time range if available, and note any normal verification error. If the AAAA still points to the original frontend and the old leaf is expired there, the evidence identifies a distinct stale path. Plan the correct IPv6 route with the owner. Possibilities depend on design, such as configuring the actual current IPv6 endpoint or removing an unintended stale address under a planned change. Do not replace meaningful IPv6 coverage just to make a single local test turn green.

Now change the scenario. Both public families actually arrive at the same two load balancer listener configurations, but the pickup host interests a different certificate from the bare catalog. A renewed file for the bare catalog will not change the certificate chosen for pickup. Inspect the served identities with the exact pair of names. Identify whether the deployment associates the replacement with the correct listener. A short renewal summary that lists date but omits certificate name and listener can hide this difference.

When the checks point to a specific path, agree on what will count as closure. An approved external client should verify the pickup identity and expiry over each intended advertised route. The exact receipt URL should display the right marker or follow the expected redirect. Any control host sharing the listener should continue to serve its valid certificate and expected page. Record the ongoing renewal responsibility for that frontend so the next certificate rollover tests the correct scope with the same evidence.

Separate what the tool observed from your conclusion

Evidence ledger for the same public URL
ObservationWhat to compare nextWhat would confirm recovery
The recursive answer remains on the old address.Exact record at every active authority, then the affected resolver’s result and TTL.The ordinary customer path reaches a compatible or current intended service during the migration window.
IPv4 works and IPv6 has a TLS warning.IPv6 destination, public listener, actual chain and SAN entries.Both advertised paths provide valid HTTPS and the expected marker.
A named request receives a welcome page.Frontend logs and loaded virtual host rules for that host and port.The target returns its own marker while an approved control site continues to work.
The checkout path returns 404 after TLS succeeds.Expected path, HTTP method, forwarding rules and application’s route log.The original link gives the approved route or redirect and the expected final page.
The website works and inbound mail stalls.Current mail requirements, new authority’s MX and target address data, and mail diagnostics.The mail owner verifies delivery with an approved test, separately from web acceptance.

Make a matrix like this for another case. Use two columns for what you observed and what you would test next. Avoid putting the guessed cause into the observation column. “A queried resolver got SERVFAIL” belongs as an observation. “DNSSEC is broken” belongs as a hypothesis until you compare the signing and delegation state. During an incident, the clean distinction makes it easier for someone else to reproduce your next test.

Practice explaining a failed domain without guessing

The owner changed the website IP but one office still sees the old catalog. Where would you start?

I would capture the exact URL and time, ask the affected recursive resolver for both relevant address families, and identify the active authority. If the authorities agree on the new target while the affected resolver has the old one, I would test the two destinations under the same hostname and compare the remaining cache interval. If the authority itself is wrong, I would check the saved zone and publication before assuming cached data.

A computer returns a default page with status 200. How would you troubleshoot it?

I would keep the advertised hostname in the URL, verify the expected destination and port, and read the site marker alongside the status. Then I would compare the host and path recorded by the frontend with the active virtual host rules. I would preserve the default route until I understood which other names deliberately use it. The repaired host needs to produce its own response.

What can you prove from a 504 response?

A gateway reported that it could not get a timely upstream response for this request. The browser had enough connectivity to receive an HTTP response from some layer. I would determine which gateway generated it, then examine the expected target, its connection and response times, and logs. Proving an authoritative address alone would not explain the delay.

What would make you investigate a certificate instead of DNS?

I would confirm the exact URL maps to the intended frontend for the address path in use and the network connection reaches it. If normal verification reports an expired certificate, unexpected name or invalid chain, I would inspect the certificate served by that actual listener. If it is the wrong destination or family, I would resolve that earlier discrepancy before assuming the correct listener is misconfigured.

How would you check that a nameserver change preserved email?

I would first get the mail owner’s intended MX, target addresses and authentication records, then compare old and new active authority data. I would keep provider-generated zone records and any separately managed signing procedure distinct from the mail data. With the owner I would verify mail using an approved test message or explicit mail diagnostics. The successful public home page is a separate test.

Choose the first useful check

  1. A short DNS query printed no address. What should you preserve from the full query before deciding that the name vanished?

    Answer and reasoning

    Keep the status, queried type, answer and authority data, plus the resolver. NXDOMAIN, absent data of the requested type, server failure and referral have different meanings. Check the actual name before acting.

  2. The candidate endpoint serves a correct marker when a named curl request overrides its destination. Has that test proved every customer now uses the new destination?

    Answer and reasoning

    No. The override demonstrates what the selected endpoint does with that name. Run a normal query and request through the affected customer path to check public DNS and cached routing.

  3. The test tool shows 000 with a connection timeout. Did the web application send an HTTP status?

    Answer and reasoning

    The tool printed a placeholder because it did not receive an HTTP status. Read the error that says which phase timed out and compare the listener and network path before changing an application route.

  4. A verified HTTPS request for an exact receipt link returns 404 and you can see the matching app log. Which hypothesis has the strongest next evidence?

    Answer and reasoning

    Use the application or gateway route evidence for that exact path. The request reached the expected app in this observation. Determine whether the path should produce a page or an intentional redirect before making the smallest fix.

  5. The recursive A record changed after a migration, but a mail owner reports missing delivery. Which separate test belongs in the acceptance checklist?

    Answer and reasoning

    Compare current authoritative MX and dependent target data with the provider’s approved settings and have the mail owner perform an appropriate delivery check. The web destination does not prove mail routing.

Cards for your next incident

Full URL, time and expected page

Start with one reproducible customer experience. Preserve the exact scheme, hostname and path and identify which evidence could change the diagnosis.

Authority and resolver

The active authority publishes the current zone. A recursive resolver can still return an older cached answer or delegation. Compare their evidence at the same name and type.

Connection before HTTP

Connection refusal or timeout can prevent any HTTP response. Verify the actual listener, family and path from the relevant client.

Test the name at the candidate

Preserve the URL hostname for certificate and web routing checks. Record when a scoped override bypassed ordinary public DNS.

Content and route are acceptance evidence

Capture status, redirect target and a recognizable response marker. For a migration, verify mail and other dependent services with their own owners.

Official references