Concepts / Names and DNS

Names and DNS

Filtering resolver

Also called DNS filtering, DNS blocklist, sinkhole, Pi-hole, Quad9, family filter, RPZ

A resolver that refuses names on a blocklist: it answers NXDOMAIN or a block page without looking them up.

A blocked name is never looked up
A blocked name is never looked up

The resolver answers a name on its blocklist itself, with a made-up NXDOMAIN, and resolves every other name as usual. It filters only the devices that ask it.

A filtering resolver refuses names on a blocklist: it answers NXDOMAIN or a block page without looking them up. Used against ads, trackers, malware and phishing (Quad9, Pi-hole, a company's resolver). A blocked name covers everything under it. The filter binds only those who ask it: a device that uses another resolver goes around it. Its made-up NXDOMAIN has no SOA record, which tells it from a real one.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab