Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

DNS Logs

Direct answer

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.

When to use this

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.

First 30 seconds

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.

Operational verification

client query → resolver log → SIEM

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

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.

Platform / version applicability
Security monitoring, detection and operations
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformSecurity monitoring, detection and operations
Scope / prerequisiteUse it when the Security question has been narrowed to Logging & Monitoring → DNS Logs. Capture exact source or entity,…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • 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.
Key checks
  • 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:

PatternPossible meaning
Newly registered or rare domainsPhishing, malware infrastructure
Long, random-looking subdomainsDNS tunnelling or DGA
High query volume to one domainBeaconing
NXDOMAIN burstsDGA malware
Queries to external resolversBypassing controls

Log the client's real IP — logs that only show a forwarding resolver's address cannot identify the infected host.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docSecurity monitoring, detection and operations current

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%
Terminology layer

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.

Aliases that resolve here
DNS telemetryresolver logsDNS query logs
Embedded reference data

Quick lookup tables

Logging & Monitoring → DNS Logs proof map

Fast source, pipeline, semantic and outcome boundaries for Logging & Monitoring → DNS Logs.

BoundaryEstablishDoes not establish
SourceRequired asset/service, audit policy, provider/channel and event classSource inventory alone does not prove event generation
DeliveryLocal queue, transport, collector receipt and timestampsConfigured destination does not prove lossless delivery
PreservationRetention, access, raw record, integrity and provenanceStored record does not prove source truth or complete coverage
InterpretationProvider fields, identity, policy/result and adjacent evidenceEvent presence does not prove intent, causation or root cause
MonitoringQuery/detection plus source and pipeline healthNo alert does not prove no activity or compromise
Confirmation

Confirm action

Continue?