Pcornel
Security · DNS Security

DNS Filtering

Cheat sheet · https://pcornel.dk/topic.php?topic=4797

Back to the Topic

Answer

DNS filtering blocks lookups of known malicious, phishing or unwanted domains at the resolver, using threat feeds or categories, so connections fail before they start. It also gives useful logs of what clients tried to reach.

Remember

  • Blocking at DNS stops connections before they start.
  • Feeds must be current.
  • Clients that bypass the resolver bypass the filter.

First checks

  • dig @<resolver> <blocked-test-domain> — blocked response
  • Filtering policy categories — malware, phishing, newly registered
  • Block logs — hits

Verify in this order

query → filter policy → block/sinkhole or resolve

Where it usually breaks

First mismatch in endpoint/identity → path/reachability → policy selection → enforcement/session → protected flow → telemetry/detection; preserve identity/policy/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4797

Confirmation

Confirm action

Continue?