Everyday Guidebooks
Cover of CompTIA Network+ DNS and DHCP Decisions

Cybersecurity & IT

CompTIA Network+ DNS and DHCP Decisions

An Unofficial Case-Based Workbook for Diagnosing Name Resolution, Address Leases, Reservations, and Configuration Errors

by Todd Michael

Available now

A workstation has an IP address but cannot open an internal website. A printer keeps receiving the wrong address. A newly added device works in one office but not another. What would you check first—and what evidence would change your mind?

CompTIA Network+ DNS and DHCP Decisions gives you focused practice with fictional network cases built around the choices technicians make when name resolution or address assignment goes wrong. Follow diagnostic clues, compare plausible explanations, and work through reasoned solutions before testing your understanding with original review questions.

Explore lease problems, reservations, DNS records, client settings, and configuration mistakes without relying on memorized definitions alone. Each chapter offers a different troubleshooting situation, so you can practice connecting symptoms to evidence and deciding on a next step.

Use this independent, unofficial workbook alongside your main comptia network+ study materials. It is not affiliated with or endorsed by CompTIA.

Contents
  1. 1. The Website That Works by Address
  2. 2. The New Laptop Without a Lease
  3. The First Clues
  4. Pause Before Choosing a Fix
  5. The Exchange Behind a Lease
  6. Testing the Path
  7. Worked Solution
  8. A Practical Troubleshooting Sequence
  9. Review Questions
  10. The Decision to Carry Forward
  11. 3. The Printer That Changed Addresses
  12. Answers and Explanations
  13. 4. The Address Pool That Ran Dry
  14. 5. The Wrong Gateway
  15. 6. The Branch Office Without Addresses
  16. 7. The Duplicate Address Complaint
  17. 8. The Missing Internal Record
  18. 9. The Server With Two Addresses
  19. 10. The Alias That Leads Nowhere
  20. 11. The Name That Works Only on the Office Network
  21. 12. The Short Name That Fails
  22. 13. The Unexpected DHCP Server
  23. 14. The Mixed-Symptom Service Desk
  24. First Decisions at the Desk
  25. The Lease That Cannot Be Issued
  26. The Desktop That Can Reach the Server
  27. The Print Job That Stayed in the Queue
  28. Putting the Evidence Together
  29. Other Books by Todd Michael

Read a sample: 1. The Website That Works by Address

Maya, an office coordinator at a small design firm, opens her browser and tries to reach the company’s internal project site at http://projects.northstar.test. The browser reports that it cannot find the server.

A colleague suggests that the web server may be down. Maya calls the service desk before anyone restarts it.

The technician asks her to try http://192.0.2.40, the address recorded for the project server. The site’s landing page appears. When Maya returns to the name, the browser still cannot find it.

That contrast is the first useful clue. It does not explain the cause by itself, but it changes the order of the investigation. A server that responds at its address is less likely to need an immediate restart. A name that fails when an address works makes name resolution a sensible next area to examine.

This fictional case follows the evidence from the user’s report to a configuration correction. As you read, distinguish what each result demonstrates from what it merely suggests. The goal is not to memorize a single command sequence; it is to choose a next step that reduces uncertainty.

Northstar Design has a small office network with a Windows workstation assigned to Maya and an internal DNS server at 192.0.2.10. The project site is hosted on a server at 192.0.2.40. Office clients normally receive their IPv4 settings through DHCP, including the internal DNS server address.

The network team’s documentation identifies projects.northstar.test as the site’s fully qualified domain name. For this case, the web server is configured to present the same landing page when accessed by that name or directly by its IPv4 address. That detail matters: some real web services depend on the requested hostname and may not behave the same way when a client uses an address.

Maya says that the project site worked the previous afternoon. She has not noticed whether other internal names work, and she has not tested from another device. Those omissions are not mistakes; they are unanswered questions. The technician should avoid filling them in with assumptions.

The initial facts are:

- http://192.0.2.40 displays the project landing page from Maya’s workstation. - http://projects.northstar.test produces a name-related browser error. - The documented internal DNS server is 192.0.2.10. - Maya’s workstation normally receives network configuration through DHCP.

Before reading the diagnostic results, decide what you would investigate first. Would you restart the web server, inspect the client’s DNS configuration, or change the site’s DNS record? What evidence would justify your choice?

Opening the site by address shows that, at the time of that test, Maya’s workstation could communicate with the web service at 192.0.2.40 well enough to retrieve the landing page. It is meaningful evidence of a working path to that service from that client. It does not prove that every network path, every server function, or every page on the site is healthy.

The name-based attempt introduces an additional dependency. Before the browser can connect using projects.northstar.test, the client needs an appropriate address for that name. DNS is a principal mechanism for obtaining it. If the client asks an unsuitable DNS server, cannot reach its configured resolver, or receives no usable answer, the browser may never attempt the same connection that succeeded by address.

The diagnostic question is therefore not simply, “Is DNS broken?” That phrase covers too many different failures. A better starting question is:

> Which DNS server is this client using, and what happens when that server is asked for the project site’s name?

The answer can separate a client configuration problem from a resolver problem or a missing record. It also helps prevent a common troubleshooting error: changing a central service before establishing that the affected client is using it.

The technician visits a nearby workstation on the same office network. Its user opens http://projects.northstar.test successfully. A lookup from that workstation returns 192.0.2.40.

This comparison narrows the investigation, but it does not close it. The second workstation’s success shows that the site name can resolve and the site can be reached from at least one office client. It makes a widespread outage less likely. It does not prove that Maya’s workstation has the same DNS settings, takes the same path, or asks the same resolver.

The technician now has a practical reason to compare client configuration. If the two workstations use different DNS servers, that difference may explain why one can find the internal name and the other cannot.

On Maya’s Windows workstation, the technician runs:

text ipconfig /all

The relevant IPv4 details are:

text IPv4 Address . . . . . . . . . . : 192.0.2.81 Default Gateway . . . . . . . . : 192.0.2.1 DNS Servers . . . . . . . . . . : 198.51.100.53 DHCP Enabled . . . . . . . . . . : Yes

The workstation has an IPv4 address and a default gateway, and the successful address-based web test already showed that it could reach the project server. The notable discrepancy is the DNS server: 198.51.100.53 is not the documented internal resolver at 192.0.2.10.

That discrepancy is a lead, not yet a complete diagnosis. A DNS address can differ from documentation for a legitimate reason, and a configuration display alone does not show how a server responds to the particular name. The technician needs to test the configured resolver and compare its answer with the answer from the intended internal…

More Cybersecurity & IT

Cover of The White Hat Bible, Volume 1The White Hat Bible, Volume 1Available nowCover of The White Hat Bible, Volume 2The White Hat Bible, Volume 2Available nowCover of The White Hat Bible, Volume 3The White Hat Bible, Volume 3Available nowCover of The White Hat Bible, Volume 4The White Hat Bible, Volume 4Available nowThe White Hat Bible, Volume 5Available nowCover of The White Hat Pocket GuideThe White Hat Pocket GuideAvailable now

About Todd Michael

Todd Michael is an American author and the founder of ToddMichael.tv. He writes practical, plain-English books on money, health, preparedness, technology, games, humor and more.

About the author Todd Michael · Todd Michael’s author site

Part of the ToddMichael.tv network.