Use it when the Security question has been narrowed to Logging & Monitoring → DNS Logs. Capture exact source or entity, owner, provider/product version, event and ingest timestamps, expected fields or security outcome, pipeline state and the independent evidence needed to prove visibility or detection behavior.
DNS Logs
DNS Logs provide resolver, authoritative server, client or security-control observations about name lookups and responses, enabling investigation of queried domains, resolution paths and anomalies when vantage point, cache and privacy behavior are understood.
1. DNS logs reveal C2, phishing, tunnelling.
2. Log at resolvers.
3. Include client IP and query/response.
4. Correlate with threat intel.
5. Block direct external DNS.
client query → resolver log → SIEM
Context & applicabilityCommon mistakes · platform/version boundaries
A DNS record can show a logging component observed a query or response, but it does not show the requester process, successful connection, content transfer or malicious intent.
Suspicious evidence: shared resolver masks client, cache suppresses upstream query, encrypted DNS bypass, truncated query, response logging absent, sinkhole changes answer, split-horizon view differs or high-volume service noise.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
application name need → client/cache → resolver query → recursive/authoritative path → response/cache → DNS log → collection → endpoint/network correlation
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- DNS query ≠ successful resolution, connection or malicious execution.
- No resolver log ≠ no DNS activity when clients can use cache, alternate resolvers, DoH/DoT or local resolution.
- Source configured ≠ required event generated, transported, retained and queryable.
- Telemetry observation ≠ root cause, intent or complete security state without independent context.
- Resolver query logging — enabled
zeek dns.log— network DNS logs- Protective DNS block logs — threats
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
A DNS record can show a logging component observed a query or response, but it does not show the requester process, successful connection, content transfer or malicious intent.
In depth
DNS logs show which domains clients looked up, and when. Because almost every connection starts with a DNS query, they reveal malware communication, phishing clicks, data exfiltration via DNS and use of unapproved services — often earlier and more completely than other logs.
Sources: DNS server query logs (Windows DNS analytical logging, BIND query logs, Unbound), protective DNS services, network sensors (Zeek dns.log) and endpoint telemetry.
Detection ideas:
| Pattern | Possible meaning |
|---|---|
| Newly registered or rare domains | Phishing, malware infrastructure |
| Long, random-looking subdomains | DNS tunnelling or DGA |
| High query volume to one domain | Beaconing |
| NXDOMAIN bursts | DGA malware |
| Queries to external resolvers | Bypassing controls |
Log the client's real IP — logs that only show a forwarding resolver's address cannot identify the infected host.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Logging & Monitoring → DNS Logs. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://csrc.nist.gov/pubs/sp/800/92/final · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Logging & Monitoring → DNS Logs proof map
Fast source, pipeline, semantic and outcome boundaries for Logging & Monitoring → DNS Logs.
| Boundary | Establish | Does not establish |
|---|---|---|
| Source | Required asset/service, audit policy, provider/channel and event class | Source inventory alone does not prove event generation |
| Delivery | Local queue, transport, collector receipt and timestamps | Configured destination does not prove lossless delivery |
| Preservation | Retention, access, raw record, integrity and provenance | Stored record does not prove source truth or complete coverage |
| Interpretation | Provider fields, identity, policy/result and adjacent evidence | Event presence does not prove intent, causation or root cause |
| Monitoring | Query/detection plus source and pipeline health | No alert does not prove no activity or compromise |