Chapter 9: Domain Names, DNS and Subdomains
9.1 What is a domain name?
In short: A domain name identifies a place in DNS. Its records can describe web addresses, mail and other services.
Friends, a domain name is a name in DNS. Think of a phone contact that can hold a number and other details. Read the labels from the root toward the more specific name.
मित्रांनो, डोमेन नेम म्हणजे DNS मधलं नाव. फोनमधल्या कॉन्टॅक्टमध्ये नंबरसोबत इतर माहिती असू शकते, तसंच DNS रेकॉर्डमध्ये पत्ते आणि सेवांची माहिती असू शकते. नावाची रचना DNS root पासून वाचा.
दोस्तों, डोमेन नेम DNS में एक नाम है. फ़ोन के कॉन्टैक्ट की तरह इसके रिकॉर्ड में पते और दूसरी सेवाओं की जानकारी हो सकती है. इसकी संरचना DNS root से शुरू करके पढ़ें.
Read a fully qualified DNS name from the root toward its more specific labels.
blog . example . com .
| | | └── root (shown by the trailing dot)
| | └────── TLD: top-level domain (.com, .in, .org, .dev)
| └────────────── second-level label in this name
└────────────────────── child label: blog under example.com
| Term | Meaning | Example |
|---|---|---|
| TLD | Top-level domain, managed by a registry | .com, .in, .org, .dev |
| Zone apex | The top name of the particular zone. It can be the registered name or a delegated child. | example.com (in DNS consoles often written @) |
| Subdomain | A full DNS name below its parent, formed by adding one or more labels | www.example.com, blog.example.com |
| FQDN | Fully qualified domain name, the complete name | api.example.com. |
| Registrar | Business that manages the registration relationship and renewal for the registrant | GoDaddy, Namecheap, Hostinger, Route 53 Domains |
| Registry | Organisation that runs a TLD | Verisign (.com), NIXI (.in) |
| DNS hosting / name servers | Servers that store your records and answer queries | A nameserver assigned by the active provider, such as the fictional ns1.example.net. |
| Web hosting | The machine or managed service that provides the website | Your EC2 instance |
Ravindra Bagale's Tip
Keep three things separate in your head: who you bought the name from (registrar), who answers DNS questions (name servers), and where the website runs (EC2). These can be three different companies. Students mix them up and then search for "EC2 settings" inside GoDaddy. Once this picture is clear, DNS becomes very simple.
Ravindra Bagale's Tip – मराठी
डोक्यात तीन गोष्टी वेगळ्या ठेवा: नाव कोणाकडून घेतलं (registrar), DNS प्रश्नांची उत्तरं कोण देतो (name servers), आणि website कुठे चालते (EC2). या तीन वेगवेगळ्या companies असू शकतात. Students हे mix करतात आणि मग GoDaddy मध्ये "EC2 settings" शोधत बसतात. हे picture clear झालं की DNS एकदम सोपा होतो.
Ravindra Bagale's Tip – हिंदी
दिमाग में तीन चीज़ें अलग रखो: नाम किससे खरीदा (registrar), DNS सवालों के जवाब कौन देता है (name servers), और website कहाँ चलती है (EC2). ये तीन अलग companies हो सकती हैं. Students इन्हें mix कर देते हैं और फिर GoDaddy में "EC2 settings" ढूँढते रहते हैं. ये picture clear हो गई तो DNS एकदम आसान हो जाता है.
Lab
Chala, trace pickup.dairy.example.test. from the root outward. Use the private worksheet below to label the domain, host, port and path separately. Then propose two child names for the fictional dairy.
Give the dairy a name customers can remember
Friends, imagine a local dairy wants customers to check collection hours and place pickup requests. Its first practice website runs on a server with a numeric network address. That address helps computers connect, but it is difficult to remember and may change when the dairy moves its service. A stable website name can be printed on a receipt. When the team moves the content, it can update where the name leads while letting customers keep using the familiar address. A domain name supplies the name part of that plan.
Think of the address book on your phone. One contact name may lead to a work number, a mobile number and an email address. The numbers can change without changing the visible contact. The analogy helps because a domain name can be associated with different kinds of information. In web use DNS often helps a client find one or more IP addresses. The same domain can also be used to look up mail-handling instructions or prove a service was deliberately configured. A domain name is a structured name in the Domain Name System. It is more general than a single friendly label for one particular server address.
Use dairy.example.test as our invented workshop name. The .test ending is reserved for testing. We will use it in examples without registering a domain or contacting a real dairy. In a live project the dairy would select an available registered name under a public suffix, document who manages it and decide which services should answer under it. The fictional name lets us rehearse those decisions without changing outside DNS or assuming that a name we invented belongs to us.
When you read a lesson, keep the human intention and the technical evidence together. The name on the receipt is an identifier. A DNS answer is a response to a particular question about that identifier. A web page is data returned later by a service. Those are three things you can separately check. Customers ultimately need the correct page, but a registration record or an address lookup can succeed even if no web process is listening on the intended path. Distinguishing the stages tells you whom to ask when a request does not work.
Read the dotted name from the shared part inward
Domain names form a tree. A label is one component of the name, separated from its neighbors by dots in the usual written form. Start at the DNS root, then read toward more specific names. In pickup.dairy.example.test., the final dot represents the root in absolute DNS notation. Next comes test, the top-level label in the example hierarchy. Then come example, dairy and the most specific label, pickup. The fully qualified domain name names that position completely. A common display leaves off the ending dot. A DNS zone file may use that final dot to distinguish an absolute name from a relative spelling, so check the context before copying an example into a control panel.
The words top-level and second-level describe where labels appear in the tree. The first label directly beneath the root is a top-level domain, commonly abbreviated TLD. An immediately subordinate label is at the second level. In a familiar public example, COM is the top-level label and example is the second-level label of example.com. The actual domain name at that second level includes the parent suffix. Listing only example gives a label, while the fully qualified name describes its unique location in the managed DNS tree.
Where registration is offered is a matter of registry policy. Do not assume that every registered public name has exactly two labels. In a name such as shop.example.co.in., the top-level domain is in. The official .IN registry lists co.in as a registration category under that top-level domain. A registrant might have a name such as example.co.in under that category, with shop below it. The example is an exercise in label levels, not evidence that this precise name is free or belongs to the class. Looking only at the last two labels would miss where the individual registration can actually sit.
For our practice name, we will assume our workshop team has been assigned responsibility for the local suffix dairy.example.test.. That is a scenario assumption, not a public registration. We will create a table with pickup.dairy.example.test. and www.dairy.example.test. beneath it. Each child is a subdomain of the named parent. A host label can be deeper still, such as west.pickup.dairy.example.test.. Draw each dot separation as a branch if that helps. The tree arrangement lets a larger organization give a team control of one branch while retaining control of the others.
The apex of a DNS zone is its top name. A zone is the administrative portion of the DNS tree for which a particular set of authoritative data applies. In a common simple setup the zone apex is the domain the business registered. The idea is more general. If the dairy delegates a subdomain into a separate zone run by another team, that subdomain is also the apex of its own zone. Some DNS panels or zone-file contexts use @ to mean the current zone's origin. The sign is shorthand in that context. It is not a prefix customers should type before a domain name in a URL.
Learn to distinguish the DNS root from a zone apex. The root is at the top of the entire DNS hierarchy. Your zone apex is where your managed branch begins. People sometimes say root domain casually to mean the bare business domain without a www label. Ask what they mean before making a change. For example, a technician entering the business apex is working in the dairy's own zone. They are not working at the DNS root. Naming the exact zone and record helps avoid mistakes when a company has many related names.
Separate the site name from the rest of the URL
Suppose the dairy hands staff a long training address such as https://pickup.dairy.example.test:8443/orders/today?shift=am#pickup. The domain name used as the host is pickup.dairy.example.test. The scheme, HTTPS, tells the client to use the rules for that kind of connection. The optional port selects a network endpoint on the destination. The path names a location or application route. The query carries additional information for that request. The fragment identifies a part or view on the client side and is not sent as part of the ordinary HTTP target. These pieces have distinct jobs even though the browser shows them in one address box.
The DNS record for that host does not include the scheme, port, slash, query or browser fragment. If a DNS interface asks for a name, you enter the host or the relative label that the interface expects. Pasting a complete address such as https://pickup.dairy.example.test/orders into the name field does not describe an ordinary A record. A record matching a host can help the client locate an address, then the client connects according to the scheme and port. The web server or application decides what the path and query mean once it receives a request. The certificate and service must support the intended hostname at the relevant endpoint.
Compare these two addresses on paper: https://dairy.example.test/hours and https://dairy.example.test/menu. The printed hostname is the same. The two paths are different and can return different pages from one site. Now compare https://dairy.example.test/hours with https://www.dairy.example.test/hours. The similar-looking brand does not make the hosts identical. They need suitable DNS and web behavior for both to work. One could redirect to the other as a deliberate choice. Typing a different path can't add a missing hostname, and adding a DNS record can't by itself create the hours page.
Use one final comparison. In https://pickup.dairy.example.test:8443/orders, the port was explicitly written. In https://pickup.dairy.example.test/orders, the HTTPS scheme supplies the ordinary default port, 443. The hostname still identifies the same DNS question for ordinary address lookup. The client connection does not necessarily go to the same port. On an approved test machine a service listening only on an alternate port can respond to the first address and fail at the default. Changing an A record by itself would not move its listener from one port to another.
Some human names contain letters outside the ordinary ASCII repertoire. Standards for internationalized domain names describe representations that applications can display and compatible encodings used for DNS. An encoded label with an xn-- start may be the ASCII form of an internationalized label. Registering such a name depends on the applicable policy and permitted characters. For day-to-day support, write down the exact name the client used and check the provider's display and the intended public spelling. Similar-looking text can refer to different names. A simple example name makes it easier to focus on the process while you learn.
Know which question DNS can answer
The Domain Name System is arranged so names can have sets of records. An A record gives IPv4 address information for an owner name. An AAAA record gives IPv6 address information. Some names have more than one address of a given type. Some give a reference to another name through a CNAME record. Other questions use records for mail routing, name server information or published text. The same name can have different information depending on which record type you ask for. Later lessons teach the individual records and their permitted combinations. For now, remember that a DNS question has a name and a type.
Imagine the dairy keeps the same website name after replacing a single web machine. Its approved DNS administrator updates the relevant address record, and the new service is configured to answer that hostname. Customers continue to ask for the same name. Some resolver caches may still reuse older answers for a while, according to their prior cache conditions. The name has not become a new registration merely because the address changed. The staff also cannot assume the new address is ready just because their records can return it. The web application and appropriate certificates need to be ready for the intended request.
There can be a reverse-looking relationship as well. Several sites can share one web address and port. The arriving HTTPS connection can offer the requested hostname in TLS so the endpoint can choose the appropriate certificate. The actual HTTP request then identifies the site name and path. A browser visit that directly uses the numeric address may select the service's fallback or fail certificate checks. It is possible for the server to be up and for the intended site name still to be misconfigured. An address is a location for the connection, while the hostname remains useful to the web endpoint.
Suppose the business already uses its domain for email and decides to move its website. A web address change only needs changes relevant to the website plan. It does not usually require removing or re-creating its mail records. This distinction matters because the first diagnostic about a page must not casually turn into an unrelated email outage. Record each service's name and record type. If a project instead delegates the whole zone to another provider, the new provider needs the applicable records for all services. A website-only record change and a delegation of responsibility for the whole zone are different changes.
One name can also be meaningful without providing a web address. A DNS record may hold data about a service or the zone. A child can exist in the tree even when a query for a particular type returns no matching address. A registration can also exist before its public DNS is delegated as expected. Record presence, registration and usable website behavior are separate facts. Later troubleshooting lessons show how no data for a type differs from a nonexistent name or a failed lookup. Each outcome calls for a suitable next question.
Keep a separate owner for each decision
For a public name, the registrant is the person or organization with the registration under the applicable terms. The registrar is the business that handles registration and management with the registry, or a provider may sell the registration through a reseller arrangement. The registry manages the top-level domain's registration system. The company holding the registration should keep responsible account ownership, accurate contact information and the renewal arrangements documented. Buying an introductory offer and forgetting who controls the account can cause operational problems even if the server runs well.
The authoritative DNS provider is a separate role. Its name servers provide the zone's records when asked. The parent delegation tells the lookup process which name servers should be consulted for the branch. The registrar is typically where the registrant manages the delegation through the parent registry. Individual records belong in the authoritative DNS control plane for the selected zone. A company may provide both services, but changing the product tab matters. Editing records in an unused hosted zone does not change the answers from the provider the parent actually delegates to.
Web hosting is the third operating role in the dairy story. The web provider runs the server, managed service or other origin that can answer the relevant URL. An EC2 instance is one possible host. A load balancer or another frontend might route to an address or name used by clients. The web team needs to configure the appropriate route and certificate. They do not automatically own domain registration or the DNS zone just because the site runs on their account. List the actual contact for each role so the team knows which system to inspect when an issue crosses a boundary.
Imagine a day when the renewal notice arrives, the DNS team needs to edit an approved record, and the app team has a new schedule to publish. The renewal is an action about continuing the registration. The record change is an action about what the authoritative servers tell resolvers. The schedule change is an action about the content the web endpoint serves. Each action can be performed separately by an authorized owner. A helpful service worksheet lists the name, the registrar, the active DNS provider and the web endpoint, then identifies which facts are time-dependent. Good records reduce the chance of changing a familiar dashboard without affecting the real request.
Trace the address the customer actually types
Think through an ordinary browser navigation in order. The browser separates the URL into its parts. The system may obtain an address for the host using an available name-resolution answer or a cache. The browser then connects to an appropriate address at the port specified or implied by the scheme. An HTTPS connection negotiates TLS and verifies the endpoint's identity as appropriate for the requested name. The browser then sends an HTTP request for the route, including the hostname information the server needs. A web server, gateway or application chooses the reply. One printed address has led to several distinct observations.
A problem at an earlier stage can prevent later evidence from existing. A customer may see that the name could not be resolved, so there was no connection to the intended site's address. If DNS returned an address but nothing accepted the connection on the target port, the report will differ. If the identity check fails during TLS, no ordinary HTTP response for that request may exist. If the request receives a 404, some component did issue an HTTP response. Diagnose the stage at which it failed instead of changing every dashboard that contains the same spelling.
Practice with a request at https://dairy.example.test/hours. The registration does not know what the hours should say. The DNS provider does not know that the web team renamed its route to collection. The certificate operator needs the requested hostname but normally does not control the page's wording. The application team can change the path or response with the name and registration untouched. Each owner can explain part of the chain. In a small project those owners might be one person, and the distinction still helps that person choose the right service and verify the correct result.
If the dairy wants both its bare name and www to open a page, the first task is to state that expectation explicitly. Perhaps only the bare name should have the canonical page, and the other should redirect. Both names must be usable enough to reach the endpoint that gives any planned redirect. For HTTPS that includes supporting the name the visitor used during the initial connection, before an HTTP redirect can arrive. The redirect is itself an HTTP response. A CNAME is a DNS reference to another name. Even if one host refers to another in DNS, the browser does not receive a page redirect merely from that DNS record.
The public endpoint also need not be a single fixed machine. The name might lead to an application frontend whose own service manages addresses. Its address can change without requiring staff to print a new receipt, provided the domain's configuration points to the designated endpoint and the approach supports its changes. Networks may return more than one eligible address. The exact record choice comes later, but the beginner rule still holds: record what the name is meant to identify and then verify a real request endpoint.
Lab that separates one name from two URLs and several record types
In a fresh terminal with Python 3, copy this complete block. It uses prepared document examples and a tiny table in memory. The program only splits URL strings and compares the resulting host with the printed training records. It sends no DNS or HTTP requests, creates no files and needs no external account. The addresses are documentation ranges, so do not try to connect to them. Before running it, predict which routes share a DNS lookup key and which whole URLs still differ.
python3 - <<'PY'
from urllib.parse import urlsplit
names = {
("dairy.example.test", "A"): "192.0.2.50",
("dairy.example.test", "AAAA"): "2001:db8::50",
("pickup.dairy.example.test", "A"): "192.0.2.51",
("dairy.example.test", "MX"): "10 mail.dairy.example.test.",
}
urls = [
"https://dairy.example.test/hours",
"https://dairy.example.test/menu",
"https://pickup.dairy.example.test:8443/orders/today?shift=am#pickup",
"https://www.dairy.example.test/hours",
]
print("URL components:")
parts = []
for address in urls:
url = urlsplit(address)
host = url.hostname
port = url.port if url.port is not None else 443
parts.append((host, port, url.path))
record = names.get((host, "A"), "no A entry in the worksheet")
print(f"{host} port={port} path={url.path} A={record}")
if url.query or url.fragment:
print(f" query={url.query} fragment={url.fragment}")
print("\nDifferent questions about the same host:")
for record_type in ("A", "AAAA", "MX"):
print(record_type, names[("dairy.example.test", record_type)])
assert parts[0][0] == parts[1][0] and parts[0][2] != parts[1][2]
assert parts[2][1] == 8443
assert parts[2][0] != parts[0][0]
assert (parts[3][0], "A") not in names
absolute = "pickup.dairy.example.test."
directions = absolute[:-1].split(".")[::-1]
print("\nDNS tree from root outward:", "(root)", " -> ".join(directions))
assert directions == ["test", "example", "dairy", "pickup"]
PY
In the first two rows, the Python parser extracts the same hostname and default port because both sample URLs use HTTPS and omit an explicit port. The printed path differs, and the working table uses the same A record for both. This is direct evidence for the worksheet model, not a public lookup. The third row has the pickup hostname, an explicit port, a separate path and both optional text components. Compare it with the first row and mark the values that are part of the host and the values that the application or client uses elsewhere.
The fourth row reports no A entry in the supplied table for www. It has no power to tell you what a real DNS server would say about a different name. It only shows that inventing a sibling host in a URL does not put a record in the training data. If you design a local exercise in which www should reach the site, decide whether to add the address for that name or model an appropriate reference. Then describe the site's response behavior for the extra host as a separate expectation. No files or services are left to clean up after the script.
The next three lines come from asking different questions about the same name in the example table. The first is an IPv4 address, the second an IPv6 address, and the third a mail target with a priority. The addresses use the reserved example ranges from the official specifications. The mail entry is an illustrative association. The little table does not implement DNS or email. In a real deployment, mail delivery would also require correctly configured address lookups and a mail service for the target name. You can still read all three rows and explain why a domain need not be synonymous with one particular address.
The last line reads from the root outward. In the Python snippet the final written dot is stripped solely to split this known absolute example. The code is not attempting to validate or normalize arbitrary public names. You can repeat the activity on paper with one blank label called root off to the right, then four written labels stepping toward the most specific one. That visual is useful when discussing delegation. When a team delegates a branch, the selected parent reference points lookup toward that branch's own authorities. The rest of the larger tree does not move.
Add two rows on paper as a follow-up. In the first row keep the host pickup.dairy.example.test but replace its explicit port with the HTTPS default and its path with /status. Predict whether the ordinary address lookup key changes. In the second row keep the order path but replace the host with the unprefixed dairy name. Predict which concept changes and whether a route on that name is already promised. Your answer should mention one host, one queried record type and one full request address separately. A partner can verify it using the provided table without a running site.
Write a three-role plan before a live change
Give a partner three fictional change requests. In the first request the domain's renewal notices go to a former worker. Start by asking which registrant account holds the registration and what the registrar requires to update its contact data. In the second request the website moves to a new ready address while the name should remain unchanged. Ask which authoritative provider serves the relevant records and which web address, certificate and response have already been verified. In the third request the schedule moves from the hours path to the collection path under the same hostname. Ask the web owner how the old path should respond after the move.
Have your partner assign the first action to registration administration, the second to a coordinated DNS and hosting change, and the third to the web or application route. Each act can require authorization and a separate verification. Write which dashboards should stay untouched unless there is separate evidence. For example, a route change within one hostname does not inherently transfer the registration or replace its nameservers. A new DNS record alone does not write a redirect. The finished exercise should identify a responsible role and a relevant success observation for each request.
Choose a second practice subdomain for the dairy and decide what it is meant to do. If you propose staff.dairy.example.test, would it be a public training page, a private app reached through a specific network, or simply a reserved label in your plan? Name the DNS policy and access expectation as design questions. A public hostname can be reachable in DNS without implying that every client should have application access. Similarly, a private name in a restricted resolver may mean something only to clients in that network. The name is a classification tool, and authentication and authorization are enforced by the relevant service.
Now put the plan in a small factual table. Record who administers the registration, who is expected to answer for the managed zone, which hostname should identify each service and what an authorized working request should return. Beside each value, mark whether it is supplied, inferred or not yet verified. In a real change you would remove guesses by checking the actual registration settings, delegation and request outcome under the appropriate access. For today's fictional workshop, those marks help you see which pieces no terminal experiment proved.
Some students want to reserve a brand by registering many neighboring names immediately. The teaching goal here is to design the intended names and learn where registrations are offered. The fictional exercise can proceed without purchasing anything. In an actual domain choice, the registration terms, initial and renewal cost, registry rules and account ownership belong to the organization making that decision. Several names under the one managed branch can be defined in DNS without buying a separate public registration for each ordinary child. DNS and web providers can still charge for services or impose quotas, so avoid treating every deployment arrangement as free or unlimited.
One last comparison brings the three controls together. Suppose a support note says, “The domain points to the old shop.” Ask whether that means the name lookup returns an old address, an HTTP redirect goes to the old shop host, or the right host and path return an old page. These statements sound similar to a customer. If the observed first result is an older authoritative address, contact the DNS owner and compare it with the intended endpoint. If the address is current but a named request redirects to the old host, examine the site and app's redirect behavior. If the address and URL are correct and the body shows older hours, check the content publisher, cache and actual origin. Asking for the numeric result, response header and visible body in separate fields makes the next action easier to choose.
Also ask through which environment the observation was made. Inside an organization's restricted network, a name may be resolved using a private DNS setup. A laptop continuing to use that environment can receive an answer that a customer at home does not see. A different answer can be deliberate if the business separates its internal apps and public pages. Record the client's environment and expected audience as part of the problem. A private address printed in a worksheet should not be assumed reachable by the global internet. Conversely an ordinary public record is not a grant of access to the application. These statements concern either the locator or the service, and a test of one cannot promise the other.
For your final note, explain a simple choice in one sentence a nontechnical manager can understand. “Keep the name on the receipt, change its published address only after the new site is ready, and verify the actual pickup page under that name” captures the dependency. Under that sentence list who owns each action. You do not need to promise a fixed time when every visitor will see the new result in order to explain why a stable name matters.
Explain the parts without mixing the owners
How would you explain a domain name to someone new to networking?
I would say it is a structured name in DNS, built from labels inside a tree. A client can ask about that name and a record type, such as an address for a website or a server name used for mail. It helps people keep using a known identifier when the underlying service changes. I would use the contact-book analogy, then show one domain with a web address and a different mail target to explain why the connection need not be one name to one address.
What is the difference between a domain name and a URL?
The domain name may be the host part of a wider URL. The URL also carries a scheme and can carry a port, a path, a query and a fragment. In a prepared address for the training dairy I would underline the host first, then label the pickup route after the slash. Changing only a path changes which application resource the client requests. It generally does not change the ordinary address lookup for that hostname.
What does the final dot mean in a written domain name?
The dot represents the root boundary in an absolute DNS name. Reading from there toward the specific labels locates the branch completely. Many everyday displays omit the final dot. A DNS configuration can distinguish an absolute target from a relative target, so I would check how that editor treats the notation. Awkward results can occur if a relative name is expanded with a zone suffix when the administrator thought they supplied an absolute one.
Why doesn't a registered name always serve a website?
Registration gives the holder a managed name under specific terms. The appropriate DNS service and delegation still have to answer for the intended host. A client also has to connect to a listener and, when using HTTPS, complete identity checks at the appropriate endpoint. The web service must then handle the requested hostname and path. I would verify one observation at each relevant stage, since success in a registration screen cannot confirm a configured page.
What is the difference between the DNS root and a zone apex?
The DNS root is the top of the whole hierarchy. The zone apex is the uppermost name for the particular zone an operator manages. A company zone can start at its registered name. A delegated training branch can have a separate zone whose apex is that subdomain. If one console uses an at sign to denote the current apex, I check which zone I am editing before choosing the record owner. The same symbol can represent different full names in different zones.
Why isn't the top-level domain in shop.example.co.in written as co.in?
Top-level describes the first label immediately below the DNS root. In this example it is in. The .IN registry can offer registration in the branch called co.in. An individual registration there could therefore contain three labels, while a name subordinate to it has still more. I would read the hierarchy from the root to identify levels, then verify the registration boundary against the applicable registry and records instead of counting two terms blindly.
Can the same address host more than one named website?
Yes. A server can receive connections on one address and port and select a configured site according to the hostname. For ordinary HTTPS, certificate selection and verification also involve the requested name before HTTP begins. I would test the exact site URL and check a recognizable page marker. An IP-only result could come from an unrelated default site. It leaves the intended name's routing and identity unresolved.
Check your reading of a name
Which part of the URL
https://pickup.dairy.example.test:8443/orders?shift=amis the domain used as the host?Answer and reasoning
The hostname is
pickup.dairy.example.test. HTTPS is the scheme and 8443 is the selected port. The path and query tell the receiving application what request is being made. These parts do not belong inside the hostname in an ordinary DNS address record.The dairy changes only
/hoursto/collectionunder the same website host. Which owner needs to set an old-path redirect if one is wanted?Answer and reasoning
The web or application owner implements the HTTP behavior for the old path. Both URLs contain the same host. Changing registration or a DNS answer does not create an HTTP response for a particular route.
Your business receives mail and hosts a website using the same registered name. Does changing the web address require canceling the mail setup?
Answer and reasoning
These can use distinct records and services. Keep the mail behavior documented and unchanged unless the scope really includes it. A full move of DNS authority needs an inventory of all relevant records. A website address change normally concerns the intended web host records and any affected dependencies.
A registrar and DNS provider both show a screen with the same domain. Which screen should you choose to edit one ordinary active address record?
Answer and reasoning
Find which authoritative name servers are delegated for the active zone, and edit the records for that zone through its appropriate provider under authorized scope. A different panel may show an unused copy. Registration management and authoritative record management are distinct roles even when the providers are the same business.
A learner invents a child hostname and assumes it inherits the parent's website. Which two separate expectations should they write down?
Answer and reasoning
First name the DNS response intended for the child's host, then state which certificate and web behavior the endpoint should provide for that name. A dotted child label describes a place in the tree. It does not configure record data, TLS or application routing on its own.
Cards for the next DNS lesson
Read from the root inward
The optional displayed final dot represents the root. Then find the TLD and progressively more specific labels. Check the applicable registration boundary rather than assuming two labels.
One host, many questions
Address, mail and other records may be associated with a name. Ask for a particular type and interpret the returned data for that use.
Three places to check
The registrar manages the registration relationship, authoritative DNS answers for the zone, and the web service responds to the named request. Document each responsible role.
A path is later
DNS ordinarily helps the client locate the host. The connection and TLS precede the ordinary HTTP request where the server handles its path and query.
Apex depends on the zone
Find the managed zone before interpreting its at sign or relative name. A delegated child can be the apex of a separate zone.
Official references
- IETF DNS labels, tree, zones and registration terminology
- URI host, port, path, query and fragment
- HTTP and HTTPS request semantics
- Internationalized domain labels
- Reserved test names
- IPv4 documentation address blocks
- IPv6 documentation address block
- ICANN registrant and registrar roles
- Official .IN registry categories and registration policy
- Route 53 registration and DNS functions
- Python URL-splitting behavior