TechKnowSurge
CompTIA PenTest+ 2.2 CompTIA Security+ 2.2
InteractiveSecurityFree

Forward or Reverse DNS?

Decide whether each DNS query runs forward (name to address) or reverse (address to name).

⚑ Complete this interactive to capture a CTF flag worth 5 points.

About this interactive

There is one thing to read: what you start with. Start with a name — a domain or a host — and resolve it to an address or a record, and the lookup runs forward. That is the ordinary direction: a domain resolves to the address a browser connects to, an MX record points to the mail server, an A record names a host address. Start with an address and resolve it back to a name, and the lookup runs reverse. A reverse lookup turns an address from a scan or a log into the hostname its PTR record publishes, and swept across a range it maps the names a target has published for its addresses. (Finding every website that shares one address is a different search, a reverse-IP lookup in a passive DNS database, not a reverse DNS query.) Both map the target's external attack surface; the direction is just which end you hold first. Ignore the tool named and watch the arrow: name to address is forward, address to name is reverse.

What you'll learn

Aligned to

CompTIA PenTest+
2.2 Given a scenario, apply enumeration techniques.
CompTIA Security+
2.2 Explain common threat vectors and attack surfaces.

Key terms

Domain Name System
DNS
A hierarchical naming system that translates human-readable domain names into IP addresses.
DNS Reconnaissance
The use of DNS queries and tools to map a target organization's domains, DNS records, and associated IP addresses during the information-gathering phase.
Reverse DNS Lookup
The process of resolving an IP address back to its associated domain name, used to discover additional resources tied to a known IP address.
DNS Record
An entry in a DNS database that maps a domain name to specific information such as an IP address (A record) or mail server (MX record).
IP Address
A numerical label assigned to each device connected to a network that uses the Internet Protocol.

Topics

Interactive Streak Sort

About TechKnowSurge

TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.

Explore free tools and programs →