Chapter 9: Domain Names, DNS and Subdomains
Practice Questions and Lab Exercises
Come on, now practice! Use the reserved training names, a paper change plan and the temporary local web server below. Try each step and write down the evidence before reading the worked answer.
चला, आता प्रॅक्टिस! खाली दिलेली सरावाची नावं, कागदावरचा प्लॅन आणि तात्पुरता local web server वापरा. तयार उत्तर वाचण्याआधी तुम्हाला काय दिसलं ते लिहा.
चलो, अब प्रैक्टिस! नीचे दिए अभ्यास के नाम, कागज़ पर बनाई योजना और अस्थायी local web server का इस्तेमाल करो. तैयार जवाब पढ़ने से पहले अपना नतीजा लिखो.
- Label the scheme, host, path and query of the practice URL. Then identify the absolute DNS name, root, and declared zone boundary.
- Explain registrar, registry, name server and web host with one example each.
- List eight DNS record types and one use of each.
- Compare two resolver caches with different acquisition times. How would you distinguish cached data from an authority that still publishes the old value?
- Why can't you use a CNAME at the apex? What do you use instead on Route 53?
- Use the local lab to confirm the catalog and www alias under the same listener. Record the first redirect and final named response.
- Compare the distinct pickup route and an unknown hostname under a shared local listener. Explain which marker and status you expect for each.
- Plan a DNS-provider migration on paper. Check the current delegation, new record inventory, DNSSEC requirements, email and the old zone retirement condition.
- Write the HTTPS acceptance sheet and compare certificate matching using the linked local lab. Assign renewal and public verification owners.
Got it? Registrar, name servers and EC2 – three separate parts, and dig is your best friend. Now let's move on to dynamic websites – PHP, Python and Node.
समजलं का? रजिस्ट्रार, नेम सर्व्हर्स आणि EC2 – तीन वेगवेगळे भाग, आणि dig तुमचा सगळ्यात चांगला मित्र. आता पुढे जाऊया डायनॅमिक वेबसाइट्सकडे – PHP, Python आणि Node.
समझ आया? रजिस्ट्रार, नेम सर्वर्स और EC2 – तीन अलग हिस्से, और dig आपका सबसे अच्छा दोस्त. अब आगे चलते हैं डायनामिक वेबसाइट्स की तरफ़ – PHP, Python और Node.
Quick Revision
- Read ordered DNS labels from the root, then identify zone boundaries and intended service names. Check the chosen provider’s constraints.
- Registrar (buy/renew) ≠ name servers (answer DNS) ≠ web host (EC2).
- Resolution can reuse cached answers and delegations or follow referrals to the relevant authority. Compare actual authority data and affected resolver cache.
- Records: A (IPv4), AAAA, CNAME (alias, not at apex), MX, TXT, NS, SOA, CAA, Route 53 Alias.
- Choose the actual hosting endpoint. Verify the scoped DNS record plan, named website route and acceptable HTTPS identity for each advertised URL.
- For a Route 53 DNS migration, prepare and compare the entire required zone first. Plan signing, parent delegation, cache windows and separate service checks.
- Choose a required subdomain, then configure its ordinary records or intentional delegation. The hosted service handles its own route and HTTPS coverage.
- Use full DNS responses to diagnose status, records and authority. Then test the exact public scheme, hostname, path and expected response.
Prepare a dairy pickup launch and defend your evidence
Mauli Dairy is replacing its paper pickup notice with a poster linking to a catalog. The poster uses the www name and includes a harmless campaign label in its query string. A separate pickup address shows the current collection schedule. People already use the domain for office mail. The owner wants a launch plan, a rehearsal, and a way to decide when the public change is ready. The exercises on this page fit together as that project.
Work with a reserved practice name and the local tools. You will sketch a zone, calculate possible cache windows, check a named HTTP candidate, and write a short release decision. The paper exercises use synthetic addresses from documentation ranges. The runnable exercise uses loopback on your computer and never needs a domain purchase, a cloud server, a certificate order or a privileged edit to the system’s hosts file. Choose a fresh notebook page, and keep assumptions near the evidence.
Make a four-column worksheet titled requirement, current evidence, next test, and owner. Begin with the catalog URL, the poster URL that redirects to it, the separate pickup name, and the existing mail service. Record what each should do and what should be preserved. Treat “we see status 200 at an IP address” as a technical observation to interpret. The customer’s expected page, redirect or delivery outcome is the acceptance requirement.
For each worked answer, first write down your own in one or two sentences. A partner should be able to tell from your notes what you actually ran, what you modeled on paper and what still requires someone else’s access. The exercise is complete when those distinctions are clear. The story does not ask you to make an artificial test domain publicly reachable.
Exercise 1. Label the names and assign their owners
Read https://www.dairy.example.test/catalog?from=poster. Write the scheme, public hostname, path and query separately. Then write the fully qualified DNS name used in a tool and mark the root at the end. Explain how you would find the public DNS zone’s real boundary in an actual deployment. Add the ordinary pickup name and one delegated branch owned by a separate training team. Circle the one name from the poster that first needs HTTPS coverage when a customer starts there.
Worked naming and ownership answer
The scheme is HTTPS. The hostname is www.dairy.example.test, the path is /catalog, and the query is from=poster. A common absolute spelling in a DNS tool is www.dairy.example.test., where the final dot denotes the root. The DNS lookup is for the hostname rather than the full scheme, page or query. In the fictional plan, declare dairy.example.test. to be the zone apex and training.dairy.example.test. to be a delegated child administered independently. An actual zone boundary is shown by DNS delegation and authority evidence, rather than by counting a fixed number of labels.
Now assign roles. The registrar handles registration, renewal and settings for the publicly delegated server list. The registry operates the relevant top-level namespace. The authoritative DNS provider runs a zone and publishes its records. The web operator handles the public endpoint and routing. The training team can operate the child authority while the parent team maintains the delegation relationship. If the parent domain uses mail, the mail provider and its administrator can be additional owners of service requirements even when a DNS operator publishes their approved records.
The customer visiting the HTTPS poster URL first needs acceptable coverage at www.dairy.example.test. The listener can then return an HTTP redirect to the catalog canonical URL. That final address needs its own acceptable TLS identity and a working path. The two names can be covered by one appropriately configured certificate when the endpoint design supports it. A footer filename, page route or query parameter does not become an independent certificate name.
Check your worksheet by pointing to one owner for each action. “Publish the blog record” goes to the active DNS authority owner. “Set a redirect that preserves the catalog path” goes to the public listener or application owner. “Set or renew the public registration” goes to the organization’s authorized registrar role. If the same person performs all three tasks, write the three responsibilities separately so someone else can verify the right evidence.
Exercise 2. Sketch a record plan and protect the mail inventory
Build a candidate plan with a controlled direct IPv4 web address, an intended IPv6 address, and a www alias to the apex. Assign the pickup site the same approved IPv4 address in this exercise so its hostname still has to choose the right content. Preserve a reviewed MX answer and one documented mail selector TXT value. Also write the purpose of NS, SOA, and CAA, then identify which nameserver records belong to the provider’s apex metadata and which represent the intentional child delegation.
| Relative owner | Type | Illustrative value | Evidence needed |
|---|---|---|---|
| Apex | A | 192.0.2.51 | Intended direct IPv4 endpoint answers for the catalog hostname. |
| Apex | AAAA | 2001:db8::51 | Intended IPv6 endpoint answers for the same advertised catalog. |
| www | CNAME | dairy.example.test. | The exact alias resolves as planned and its named listener redirects. |
| pickup | A | 192.0.2.51 | The shared address chooses the distinct pickup route. |
| Apex | MX | 10 mail.provider.example.test. | Reviewed mail path remains available and separately verified. |
| v1._domainkey | TXT | Training selector placeholder | Existing provider-required data remains present. Use provider instructions in an actual zone. |
Now read the table aloud as a plan, not as terminal commands. The MX preference is part of a mail routing rule. The target name needs the intended address data in its own authority. A selector TXT owner is an example of another mail dependency, and the fake value here cannot be used as an actual authentication configuration. A new DNS provider can generate its own apex SOA and NS. Keep the legitimate child delegation for training visible as service data and verify the active child’s authorities.
Worked record-type and architecture answer
A and AAAA supply address families, CNAME creates an alias relationship, MX selects mail exchangers, and TXT carries text data used by protocols such as mail or validation when they prescribe it. NS data identifies nameservers, and SOA supplies information about the zone including fields relevant to administration and negative caching. CAA can express which issuers are authorized under its policy to issue certificates for a name. Those are eight DNS record types. Route 53 Alias is an additional provider feature for eligible endpoints or eligible same-zone records.
The apex needs its own NS and SOA, so an ordinary CNAME cannot take its place. If you move the catalog to a supported managed load balancer, choose the provider-documented apex Alias or similar supported mechanism where available, not one address copied from a lookup. An ordinary CNAME may be useful at a non-apex alias if no other ordinary data conflicts at the same name. For a direct EC2 design an Elastic IP can meet a stable IPv4 requirement if allocated and associated appropriately. Its pricing and route requirements belong in the design review.
The case calls for the website change and preserving email, so plan an explicit comparison for both. The candidate authority should return the approved address records and all existing required mail data. The configured mail target needs its own correct records and service behavior. The web test needs a named route and actual response. Good record contents do not themselves prove either endpoint is serving requests. An existing external provider’s inventory is the source for the real values.
For extra practice, propose two changes to the table and explain their effects. Delete the pickup row and see why an independently named route may become unreachable through normal DNS. Then add an unapproved old IPv6 value to the apex record set. Explain why a client using the A answer could still work while some users report the old site. Describe the minimal authorized correction and which tests would verify all intended paths.
Exercise 3. Calculate cache timing and decide when to verify
The authority currently publishes the old A address with TTL 900 seconds. Resolver One obtained it at 10:00 on launch day. At 10:03 the planned change publishes the new value. Resolver Two has no cached record. At 10:05 it fetches the new value with a TTL of 300 seconds. Assume for this exercise consistent authoritative publication, ordinary caching to expiry, immediate lookup when asked, and no stale serving, early refresh or unrelated cache layers. What can each resolver return at 10:06? When is One’s original positive cache entry due to expire?
Worked answer for the two resolver views
At 10:06 Resolver One can return the old answer with 540 seconds remaining. Nine of the original fifteen minutes are left. Its old entry is due to expire at 10:15. Resolver Two can return the new answer with 240 seconds remaining. It acquired it at 10:05 and one minute has passed. Its copy reaches the simple expiration point at 10:10. The new authoritative TTL does not act on the existing cache of One.
Observe the actual authority and the affected resolver before changing anything again. If the current active authority unexpectedly returns the old value from some or all assigned servers, the example’s consistency assumption has failed. Verify zone selection and publication rather than concluding that the old result is merely in a cache. If the affected resolver has a currently stale record and an unexpired TTL, keep both endpoints suitable for the planned transition and verify again through the affected route when its answer is expected to update.
Now add a newly created label. The office resolver asked for it before creation and retained a negative answer. Why can the students see its new positive value from the authority without immediately reaching it on the office network? Write the specific DNS status and record type you would collect and where you would get them. Then explain how a cached delegation could add a third independent distinction during a nameserver move, even if the old and new providers are still capable of answering.
Worked answer for negative data and delegation
A resolver may retain a result indicating that the name or requested data did not exist. An earlier NXDOMAIN and a NOERROR response with authoritative proof that the requested type is absent are different observations. A later positive TTL says how long that later answer can be cached. It does not identify the earlier negative retention window. Compare the full response status, record type and relevant authority data from the affected resolver and the presently authoritative servers.
Cached NS information can direct resolver queries to a previous provider even when nameservers have just changed at the registrar. Plan a complete new zone and verify its answers directly first. Retain the approved earlier zone while circumstances call for it, then verify ordinary recursive views and dependent services. Never assume an empty address output establishes which of these scenarios occurred. Note which query went to which server and whether that query path was affected by delegation.
Exercise 4. Rehearse the named website changes locally
Use Python 3 and curl on a computer where you can bind temporary loopback ports. The candidate setup is a miniature server whose response depends on the HTTP Host and path. It handles three approved names and rejects an intentionally unknown one. Start by predicting five lines of evidence. Include one request to the bare catalog, one first-hop redirect, a follow of that redirect, one pickup request, and one unexpected name. The initial redirect must preserve both the catalog path and the harmless campaign query.
The program uses a connection override for each of the reserved names. It sends every trial to the one local socket while leaving the original name in the URL and request. The URLs use the default HTTP port, but curl connects instead to the fresh loopback port that the practice server owns. Specify the override for the target of the redirect as well as its source to keep the whole practice chain local. No global DNS or proxy setting needs to be adjusted.
python3 - <<'PY'
from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer
from urllib.parse import urlsplit
import subprocess
import threading
apex = "dairy.example.test"
www = "www." + apex
pickup = "pickup." + apex
unknown = "unused." + apex
class Candidate(BaseHTTPRequestHandler):
def do_GET(self):
host = self.headers.get("Host", "")
request = urlsplit(self.path)
location = None
if host == www:
status, body = 302, b""
location = f"http://{apex}{self.path}"
elif host == apex and request.path in ("/", "/catalog"):
status, body = 200, b"DAIRY CATALOG READY\n"
elif host == pickup and request.path == "/today":
status, body = 200, b"PICKUP READY\n"
else:
status, body = 404, b"UNKNOWN HOST OR PATH\n"
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
def request(port, host, path, follow=False):
options = ["--location", "--max-redirs", "2"] if follow else []
mappings = []
for name in (apex, www, pickup, unknown):
mappings += ["--connect-to", f"{name}:80:127.0.0.1:{port}"]
return subprocess.run(
["curl", "-q", "-sS", "--max-time", "4",
"--noproxy", ",".join((apex, www, pickup, unknown)), *mappings,
"--write-out", "status=%{http_code} next=%{redirect_url}\n",
*options, f"http://{host}{path}"],
capture_output=True, text=True, check=True, timeout=6,
).stdout
with ThreadingHTTPServer(("127.0.0.1", 0), Candidate) as server:
worker = threading.Thread(target=server.serve_forever, daemon=True)
worker.start()
port = server.server_address[1]
try:
checks = [
(apex, "/catalog", False,
"DAIRY CATALOG READY\nstatus=200 next=\n"),
(www, "/catalog?from=poster", False,
f"status=302 next=http://{apex}/catalog?from=poster\n"),
(www, "/catalog?from=poster", True,
"DAIRY CATALOG READY\nstatus=200 next=\n"),
(pickup, "/today", False, "PICKUP READY\nstatus=200 next=\n"),
(unknown, "/", False, "UNKNOWN HOST OR PATH\nstatus=404 next=\n"),
]
for name, path, follow, expected in checks:
got = request(port, name, path, follow)
assert got == expected, (name, path, follow, got)
print(f"{name}{path} follow={follow}: " +
got.strip().replace("\n", " | "))
finally:
server.shutdown()
worker.join(timeout=5)
assert not worker.is_alive()
print("Five local named HTTP checks passed; loopback listener stopped.")
PY
The first line should show the catalog marker and status 200. The second line shows the expected HTTP 302 and the complete destination, including the query parameter. The third repeats the original link while letting curl follow its response and shows the expected final catalog marker. The fourth chooses the pickup route using the same local address. The fifth intentionally requests an unknown host and receives a distinct 404 marker. The separate HTTP status and body fields explain why a correct connection alone is not enough to approve the domain.
Explain the role of the named connection override. A normal browser would learn a destination through its resolution process. This exercise substitutes the local route for those reserved names. It can show differences caused by HTTP hostname and path selection under a fixed network destination. It does not demonstrate public DNS choice, an authorized firewall policy, or TLS trust. Add those work items to the worksheet before thinking of a public change.
Make one deliberate mistake and describe what the test catches. Change the redirect in the candidate to the bare root without copying the original path and query. The first-hop assertion should now report a mismatch. Looking only at the final status could give a different impression because the bare root is also a working catalog route. Restore the original forwarding behavior after the exercise and rerun it. If a command fails before that point, check that Python and curl are available and that local loopback connections are permitted in your training environment.
The loopback listener is closed after the run, including on an assertion failure through the cleanup path. The fixture creates no certificate files or cloud resources. Leave your evidence as a compact table of the five cases and their results. For extra practice propose a more specific behavior for the unknown name, making sure your control test still clearly distinguishes an intended rejection from a working service route.
Write one row for a fresh browser and another for a client that remembers a permanent redirect from an earlier release. This fixture uses a temporary 302 and a new curl invocation per test. An older remembered rule can cause a user to skip today’s first hop during a real check. The platform owner should plan the intended redirect status, decide whether the old link should keep working during transition, and test from a fresh context and an affected one. The difference matters when the team is trying to understand why the server receives no fresh request for a link somebody says they clicked.
Exercise 5. Design the certificate check and prove the right scope
Write three rows for the advertised catalog, its www redirect alias and the pickup endpoint. Include current DNS target, owner of the TLS listener, certificate identities required, and the intended HTTP outcome. If the web candidate is eventually behind an AWS Application Load Balancer with an HTTPS listener, classify the public certificate test under that listener. Decide separately how the service forwards to its targets. If the service is direct Nginx, the configured server blocks and certificate files on its public listener are part of the same public endpoint.
Choose a validation method for each proposed certificate. Explain which input proves control to the issuer and what the listener uses afterwards. Use the previous local HTTPS identity exercise to observe exact and wildcard matches and a failure in trust. Bring those results back to the current worksheet. Your project scenario never asks a real public issuer to recognize the reserved names. Real issuance and installation would belong to an authorized public deployment with the appropriate method and verification.
Worked certificate acceptance answer
The first poster hop is an HTTPS request to the exact www hostname. This name needs accepted coverage even though it only redirects. The final bare host needs coverage too. The distinct pickup host can use the same certificate if its applicable public endpoint serves a chain with all three correct names. Otherwise plan the correct per-listener certificates. A wildcard for one level below the bare name may cover the aliases at that level but will not include the bare name itself or a deeper descendant.
Let's Encrypt HTTP-01 validates through the particular challenge path starting at the public HTTP port. It cannot be used for wildcard issuance. DNS-01 uses an issuer-specified TXT answer under the challenge name and can validate wildcards under the issuer’s documented conditions. The later visitor does not check a challenge path to retrieve today’s catalog. The visitor evaluates the public certificate presented for the named HTTPS host, then receives a regular HTTP response over the verified connection. These are two different assurances.
A renewal check should account for the requested names, issuance, installation to the actual public listener and an external request observing the new expected material. A local certificate inventory or a renewal dry run in an approved environment supplies narrower evidence. Assign the owner who will watch expiry and check that deployment succeeded for each advertised URL. Your worksheet can capture the owner, checked endpoint and time of both the current verification and next scheduled review.
You can challenge a partner with an extra requirement. Add north.east.pickup.dairy.example.test after the certificate has been planned. Ask whether a single-label wildcard for *.pickup.dairy.example.test covers it, and which owner must approve the new service. Explain which question is DNS and which is TLS. A useful answer keeps DNS wildcard matching rules and TLS wildcard identity matching separate, even when both include an asterisk in the plan.
Exercise 6. Decide whether the launch can proceed
Imagine the old authority answers for the established mail selector and new authority does not. Both are ready to answer the new homepage, and the local HTTP lab passed. The domain owner asks whether it is safe to switch nameservers and delete the old hosted zone immediately after. Write down the next action and two explicit conditions for declaring the migration ready. Include which evidence you can gather without editing the public site or changing the domain.
Worked launch decision
I would postpone the delegation change while the reviewed mail inventory is incomplete. Compare the intended exact answers at both candidate and current authorities, including mail, verification data and child delegations. Have the mail owner review the selector value and confirm who will verify mail afterward. Public site routing evidence remains important, but it cannot replace proof of a different dependency. If DNSSEC is active, use the documented provider procedure and verify the planned parent settings as part of the migration.
Once the zone is ready, use the approved change window, preserve the previous authority as planned, and observe both the published delegation and external recursive results. Make normal named public requests from the intended networks for the catalog and the poster, checking certificates, redirect destination and final markers. Ask the mail owner for their approved service check. Account for previously cached delegations and addresses when deciding what to keep running. An immediate cleanup based on a single recursive lookup can leave some customers without a working earlier path.
If the objective only changes the address of a single existing website, consider whether the migration to a new DNS authority is necessary at all. A scoped edit in the current active zone might satisfy the request. Document the concrete problem the wider change is meant to solve. Then agree on a rollback condition and how to reach it using the smallest workable action. Where caches retain old observations, a rollback is an operational plan rather than an instant worldwide result.
Pass your release note to someone who has not watched your tests. They should be able to find what was observed locally, what was asserted as a synthetic policy, and what needs the real owners and endpoints. The note should contain the exact link and expected marker, the fact that your local test used a scoped connection override, and separate acceptance for ordinary DNS and HTTPS. Track any billable resource or approved real environment in the deployment plan. The local exercises on this page do not consume cloud resources.
Exercise 7. Triage three support tickets after the rehearsal
Imagine the candidate launch is still a simulation and a partner hands you three notes. Ticket One says the shop computer gets no address for the pickup name, while the currently assigned authority returns the intended A value. Ticket Two says the poster URL reaches the planned address but displays a certificate identity warning. Ticket Three says the bare catalog already opens, yet a saved path on the pickup site has status 404. For each ticket, write the first useful observation to reproduce and the exact expected sign of recovery.
Worked support-ticket comparisons
For Ticket One, I would keep a full response from the affected resolver and compare the exact name, requested type, server and time. A resolver may provide an older negative answer or a different DNS view. The report “no address” does not establish its response code. If the response is NXDOMAIN and current active authorities agree on a usable A answer, inspect the earlier cache or view evidence. Recovery needs an ordinary request from that environment that finds the intended name and reaches the right pickup page.
For Ticket Two, I would preserve the full HTTPS URL and test the exact hostname using normal verification. Confirm the address family and public endpoint the client used. Review the SAN and identity in the presented certificate during diagnosis. A warning for an initial alias can stop the client before it receives the redirect. The repaired endpoint must verify the original name, return the intended Location with path and query, and deliver the final catalog marker through the ordinary customer path.
For Ticket Three, a 404 is an HTTP response. Confirm that the reporter really reached the expected pickup frontend and record the exact path and time. Check its route and logs for the sequence that returned that result. If the path was intentionally retired, decide with its owner whether the original link should redirect to the current schedule or show a dedicated retired response. The fact that the bare catalog works establishes little about the saved pickup route. A targeted check of the saved link is the real acceptance requirement.
Now change one detail on each ticket and ask your partner to reconsider. Ticket One has both authority and resolver NXDOMAIN. Ticket Two turns out to use a stale advertised IPv6 endpoint. Ticket Three has an HTTP 504 instead of 404. Explain how each new detail changes your next test. The first change weakens a cache hypothesis. The second makes the address design and IPv6 listener part of the certificate diagnosis. The third shifts attention toward the gateway’s expected upstream and its response timing.
Capture the revised answer in ordinary words a manager can act on. Say which user route is affected, which other route supplied contrasting evidence, what you still need to learn, and who can inspect that layer. A verbose technical transcript can be kept for the team while the handoff contains the next meaningful observation. Keep your notes limited to harmless test links and synthetic data used in practice.
Exercise 8. Replace the direct endpoint in your design
Assume the team drops the one-instance plan and uses an internet-facing managed load balancer for the dairy’s site. The application instances should now be reached through the load balancer, and the website’s public DNS points to the managed endpoint. Draw the visitor, public DNS name, HTTPS listener, routing rule, private targets and the separate mail route. Mark which connection the browser actually verifies and which routing decision sends the request to the pickup handler.
Worked managed endpoint answer
I would use the documented DNS target for the hosted architecture. For eligible AWS resources in Route 53, that can be an Alias at the apex. At an appropriate non-apex owner, the supported target might be offered as a regular CNAME, depending on the service and record requirements. I would confirm the public endpoint rather than copying one observed address from a managed service lookup. An Elastic IP is a separate account-allocated direct IPv4 design choice and may no longer be needed in this plan.
The listener accepts the visitor’s HTTPS connection and presents an acceptable identity for the requested name. What happens from that listener to its targets uses separate settings, chosen with the deployment owner. A route can match the requested name or path and select the desired target group. Before announcing availability, confirm target health under the actual check and the public application route under the exact link. A health endpoint might pass even when the catalog route or pickup marker is wrong.
To preserve mail I would leave the independent reviewed MX and required verification records alone. Make no registrar change unless the active authority actually needs to move and the owner approves the migration. I would put a note next to the remaining old public endpoint and document when it can be retired, including which previous DNS and client behaviors could still send it traffic. An inventory should show the old resources still needed and who should later release or retire them.
Work through the budget and rollback on paper. For the previous direct architecture, check which public IPv4 addresses remain allocated, where the current website still uses them, and how release is approved. Do not try to infer that an unassociated address is free or disposable. For the managed architecture, identify the necessary frontend, DNS and other billable components using current provider links if you need real prices. Write two acceptance examples and one explicit retirement condition for the earlier design.
Fill in a comparison row for the same poster URL under each architecture. The customer does not need to learn where TLS terminates, but the owner who investigates an expiry warning will. Under the first design inspect the direct server’s listener. Under the second design inspect the load balancer’s public listener or any edge in front of it. In both, the final criterion is the expected route and marker on an ordinary verified request. The topology changes the operations, while the customer requirement remains easy to state.
Exercise 9. Hand the launch plan to a different operator
Finish by making a clean handback package for another student. It needs the exact requested scope, the current authorized owner of every change surface, and a short timeline of tests. Include a small set of successful and failed evidence from the local rehearsal. Label the training values clearly so nobody copies a reserved name into a real console. Represent actual registrar and AWS accounts only as roles because this exercise uses no real account or private data.
Agree on two stop criteria and one continuation condition. For example, stop if the exact advertised www address cannot complete normal TLS, or if the ready-to-publish zone lacks an approved required mail record. Continue only after the intended owner can reproduce the expected candidate and public validation steps at the correct phase. Add a separate time to review the earlier cache observations if the launch includes a DNS change. Describe what you will check at that time instead of writing only “wait for propagation.”
Give the operator a follow-up schedule in plain terms. First test the actual advertised link and a current control site. Then have the mail owner verify their independent service. Review any unresolved address family or network-specific evidence before announcing universal recovery. Provide a recurring certificate expiry check and a registrar renewal owner. These follow-ups are part of operating a published service, so place them next to the relevant team instead of leaving them as a general instruction to remember later.
Ask the new operator to read the handback and repeat one test aloud. They should be able to say which hostname, URL path and exact marker they will use, whether a test override is needed, and which expected outcome gives them confidence to move on. If they cannot reconstruct the test without your explanation, add the missing piece. Then challenge them to identify one setting that appears nearby but does not belong to the authorized change. A good handoff makes both the work and its boundary understandable.
Explain your lab choices aloud
Which DNS questions do you answer with a full lookup instead of a short list?
I keep the actual status, answer type, response server and relevant flags or TTL when diagnosing. A blank short output can mean no record of that type, a missing name or a failed lookup. Matching the exact test name and authority helps me decide which case occurred.
Which part of the local exercise verifies a redirect?
The first named request shows status and complete destination with the path and query. The second follows the destination and confirms the catalog marker. The two observations show the redirect rule and the visitor’s eventual page separately.
What can the registrar continue to manage after Route 53 becomes authoritative?
The registrar can continue managing the registration term and delegation settings. Route 53 publishes the zone’s answers using its assigned authority. The web and mail operators continue to maintain their own services. A change can select a new DNS host without transferring registration.
How can a correct IPv4 result hide a real public fault?
A second published AAAA answer may direct IPv6 clients somewhere different. That endpoint also needs the intended network route, listener, certificate and page. Test relevant address families with a client that supports each and confirm the normal visitor path too.
How do you decide to keep a previous authoritative zone temporarily?
During a migration its older delegation can remain cached and some clients can still depend on the zone’s answers. I would follow the active-domain migration plan, monitor recursive behavior and service outcomes, and set an evidence-based retirement point rather than deleting the zone immediately.
Check your acceptance decisions
The HTTPS poster alias redirects to the apex. At which step does its own name coverage matter?
Answer and reasoning
Before the redirect. The browser has to accept the TLS identity of the initial HTTPS hostname before receiving the HTTP response with the target.
Your local test uses an address override and reaches the right page. What remains to be tested for the real audience?
Answer and reasoning
Normal DNS, public reachability, valid TLS and actual routing for the ordinary public link. The local result only established the scoped simulated HTTP candidate behavior.
At 10:06, can Resolver One have a positive TTL of 540 seconds if it fetched 900 seconds at 10:00?
Answer and reasoning
Yes under the exercise model. Six minutes means 360 seconds elapsed. That leaves 540 seconds on the previously acquired answer.
The old and new zone’s apex NS sets differ. Is that automatically an inventory failure?
Answer and reasoning
No. Each provider can have its own valid assigned NS set. Verify the service data in both zones and the appropriate parent delegation for the actual migration phase.
The local redirect test would pass an HTTP 200 on the bare root. Why did the instructions also check its Location value?
Answer and reasoning
The poster carries an important path and example query. The root can work while the redirect loses information. Check the first hop and actual final experience.
Cards for your final check
Separate the control surfaces
Registration, active DNS, public TLS and the web route can belong to different teams or services. Put the owner next to each required action.
Plan typed records
Write exact owner names and record types. Check the complete address set and protect mail and other pre-existing dependencies.
Calculate before changing again
Compare what each resolver cached, when it got the answer and its possible remaining TTL. Check the active authority as the control.
Test the precise link
Observe the first redirect and final marker. Plan certificate coverage for every public HTTPS name a customer encounters.
Keep separate evidence
Label local experiments, synthetic observations and real customer-path tests. Count a launch as complete when the required services pass through their ordinary paths.
Official references
- IETF DNS terminology and delegation
- IETF DNS design and CNAME rules
- IETF negative caching rules
- IETF certificate name matching
- IETF HTTP semantics and redirects
- AWS Route 53 migration for in-use DNS
- AWS Alias and CNAME choices
- AWS ALB HTTPS listeners
- AWS Elastic IP characteristics and costs
- Let's Encrypt validation methods
- curl named connection override
- Python local practice HTTP server