Courseiva
mediumMultiple ChoiceObjective-mapped

DNS Host Record: Why Internal Websites Need a DNS Record

A small business reports that employees can access the internet but cannot reach the internal company website hosted on a local server. The server's IP address is 192.168.1.10, and clients use DHCP. What is the most likely cause?

Quick Answer

The answer is that the DNS server lacks a host record for the internal website. This is the most likely cause because when employees type the website’s hostname, their computers send a DNS query to resolve that name into an IP address; without a corresponding host record in the DNS zone, the query fails, and the browser cannot reach the server at 192.168.1.10. On the CompTIA A+ Core 1 220-1201 exam, this scenario tests your understanding of how internal DNS resolution differs from internet access—a common trap is assuming that internet connectivity guarantees local name resolution, but DHCP only provides IP configuration, not DNS records for private resources. Remember that a host record (an A record for IPv4) explicitly maps a hostname to a private IP, so if internal sites are unreachable by name but the internet works, always check the DNS server first. A helpful memory tip is “No A record, no arrival”—without that host record, the name simply cannot be found.

⚠ Common exam trap

CompTIA A+ exams often test the distinction between connectivity issues (like a down switch port or firewall block) and name resolution issues, trapping candidates who assume that internet access implies all DNS is working, when in fact internal DNS records may be missing or misconfigured.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

The DNS server lacks a host record for the internal website.

The internal website is accessed by its hostname, which clients resolve via DNS. Since employees can reach the internet (so general DNS works) but not the local server, the most likely cause is that the DNS server lacks a host record (A or AAAA record) for the internal website's name, preventing name-to-IP resolution for 192.168.1.10. DHCP is functioning correctly because clients receive IP addresses and can access the internet.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The DHCP server is not assigning the correct subnet mask.

    Why it's wrong here

    Incorrect subnet mask would affect all network communication, not just internal website access.

  • The DNS server lacks a host record for the internal website.

    Why this is correct

    A missing A or host record prevents name resolution for the internal site, while internet DNS works fine.

  • The switch port connecting the server is administratively down.

    Why it's wrong here

    If the switch port were down, the server would be unreachable entirely, not just via hostname.

  • The firewall is blocking port 443 inbound.

    Why it's wrong here

    Blocking port 443 would affect HTTPS access but not explain why employees can't reach the site by name while having internet.

Visual reference

Client DHCP Server 1 Discover (broadcast) 2 Offer (IP: 192.168.1.10) 3 Request (I accept) 4 Acknowledge (lease confirmed) DORA — the four-step DHCP lease process

Quick reference

Common DNS Record Types

RecordPurposeExample
AIPv4 address mappingexample.com → 93.184.216.34
AAAAIPv6 address mappingexample.com → 2606:2800::1
CNAMEAlias to another hostnamewww → example.com
MXMail server for domainexample.com → mail.example.com (priority 10)
TXTText data (SPF, DKIM, verification)v=spf1 include:_spf.example.com ~all
NSAuthoritative name serversexample.com NS ns1.example.com
PTRReverse DNS (IP → hostname)34.216.184.93.in-addr.arpa → example.com
SOAZone authority recordPrimary NS, admin email, serial, TTL defaults

About these practice questions

One of 972 original 220-1201 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

2 more ways this is tested on 220-1201

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A technician is troubleshooting a network where users can access the internet but cannot connect to a specific internal application server by its hostname. Pinging the server's IP address works. The DNS server is configured correctly for external names. What is the most likely cause?

medium
  • A.The DHCP server is out of IP addresses
  • B.The DNS server does not have an A record for the application server
  • C.NAT is misconfigured for the internal network
  • D.The proxy server is blocking the hostname

Why B: Since users can access the internet and ping the server by IP, the network connectivity and external DNS resolution are working. The failure to resolve the internal server's hostname indicates that the DNS server lacks an A record for that specific hostname, preventing name-to-IP resolution for internal resources.

Variation 2. A company's internal website is accessible by IP address but not by its hostname. The website is hosted on a server with a static IP. Which service is most likely misconfigured?

medium
  • A.DHCP
  • B.NAT
  • C.DNS
  • D.RADIUS

Why C: This question tests DNS resolution for internal resources. Access by IP works, so the server is reachable. The problem is name resolution, which points to a missing or incorrect DNS record for that hostname.

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 220-1201 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 220-1201 exam.