Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

Sinkhole

Direct answer

A DNS sinkhole answers queries for malicious domains with a controlled IP address, so infected clients connect to a harmless server instead of the attacker, which also reveals which hosts are infected.

When to use this

Use this when redirecting malware domains to a controlled server.

First 30 seconds

1. A sinkhole answers malicious domains with a controlled IP.

2. Identifies infected hosts.

3. Log connections to the sinkhole.

4. Combine with RPZ/feeds.

5. Respond to hits.

Operational verification

malicious domain query → sinkhole IP → logged contact

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Sinkhole address that is a real host on the network.
  • No logging on the sinkhole, so infected hosts are not identified.
  • Sinkhole entries never expire, blocking domains later reused legitimately.
  • Clients bypassing the internal resolver.
Platform / version applicability
Network security
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.

PlatformNetwork security
Scope / prerequisiteUse this when redirecting malware domains to a controlled server.
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 Investigating sinkhole hits Verify boundary

Clients that resolve a sinkholed domain connect to the sinkhole IP. Log those connections, map the IP to a host (DHCP logs, EDR), and investigate the process that made the request. Repeated hits usually mean malware still running on the host.

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
  • Infected hosts reveal themselves by contacting the sinkhole.
  • Sinkholes stop command-and-control.
  • Log all sinkhole connections.
Key checks
  • dig <malicious-domain> — returns sinkhole IP
  • Sinkhole server logs — infected hosts contacting it
  • SIEM alert on sinkhole hits — response
ReferenceWhy it matters1 section · depth on demand

Using sinkholes

The resolver answers malicious domains with an internal IP that logs connections. Any host connecting to it is likely infected and can be found in the sinkhole's logs (more useful than a plain NXDOMAIN). Microsoft and law enforcement also sinkhole botnet domains (e.g. WannaCry's kill switch was effectively a sinkhole).

ReferenceImportant terms & boundaries1 section · depth on demand

Worked example

A DNS sinkhole answers queries for malicious domains with a controlled address (or NXDOMAIN) instead of the real one. Infected hosts trying to reach command-and-control servers connect to the sinkhole instead, which both blocks the communication and reveals which hosts are infected.

Worked example: threat intelligence lists update-check-cdn.example as a C2 domain. The resolver's RPZ maps it to 10.99.99.99, an internal server that logs connection attempts. Within an hour, logs show two workstations attempting connections every 60 seconds — they are isolated and investigated.

Security researchers also sinkhole domains used by malware families to measure and disrupt botnets.

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 docNetwork security current

Authoritative/upstream documentation reviewed for bounded claims in DNS Security → Sinkhole. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc4033 · confidence 94%
Confirmation

Confirm action

Continue?