DNS Logging
Also called DNS Query Logging.
Recording the domain-name lookups that hosts request and resolve.
What it is
DNS logging captures the name-resolution queries and responses generated by clients and resolvers, recording which domains were requested, when, by whom, and what they resolved to. It can be collected at endpoints, internal resolvers, or recursive servers.
Why it matters
Because nearly every network action starts with a DNS lookup, these logs surface command-and-control, tunneling, and data exfiltration even when the payload traffic is encrypted. They also let investigators retroactively pivot from a known-bad domain to every host that ever queried it.
In practice
DNS logs showing dozens of long, random subdomains under one parent domain, exposing a tunneling channel before any payload was inspected.
What to look for
- Queries for new, rare or random-looking domains.
- Long subdomains or high query volumes to one domain.
- Hosts bypassing internal resolvers.
Common mistake
Logging only at the resolver edge. You lose which internal host asked.
Practice it nearby
CyberKit has no tool for this term itself. These are the closest places to practice it.
- Event Log Reader
Read a binary .evtx file or pasted event XML, with logon types, NTSTATUS codes and the Keywords mask decoded.
- Linux Case
A server making outbound connections nobody can explain: read its audit log, journal and scheduled jobs, and say who did what.
In the field
Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.
-
Wireshark Open source
Opens a capture packet by packet so you can see exactly what crossed the wire. Our notes.
-
Zeek Open source
Turns traffic into structured logs for connections, DNS, HTTP, TLS and more. Our notes.
-
Suricata Open source
An IDS that alerts on known patterns and logs protocol metadata alongside. Our notes.
-
Arkime Open source
Indexes full packet capture at scale so you can search and pull sessions later. Our notes.
Read next
- Proxy Logs: Records of outbound web requests passing through a forward proxy.
- Flow Logs: Metadata records summarizing network conversations, without packet payloads.
- Firewall Logs: Records of network connections a firewall allowed or denied.