Names and DNS
Recursive resolver
The DNS server a device asks: it does the whole search and caches the answers.
A recursive resolver is the DNS server a device asks: it does the whole search and keeps each answer in its cache
for the record's TTL. Its address is in /etc/resolv.conf, usually set by DHCP; the SERVER line in dig's output
names it. A device believes whatever its resolver says, and the resolver sees every name the device looks up, which is
why a VPN should carry DNS too.
Read next
- DNS The distributed directory that turns names like bank.lab into addresses.
- Authoritative server A DNS server that holds a zone's records and answers for them with the aa flag.
- DNS leak Lookups leaving outside a VPN tunnel, telling the local network every name you visit.
- DHCP How a device gets its address, gateway and DNS server when it joins a network.
- Forwarding resolver A resolver that keeps a cache but sends every other question, whole, to one upstream resolver.
- DNS amplification Bouncing small spoofed queries off open resolvers so large answers flood a victim.
- Network configuration A machine's four network settings: the card up, an address and subnet, a default route, a DNS server.
- NAT64 and DNS64 How an IPv6-only device reaches an IPv4-only server: DNS64 makes up the address, NAT64 translates the packets.
- Hosts file A local list of names and addresses, consulted before DNS on most systems.
- DNS response codes The status on every DNS answer: found it, no such name, or couldn't get an answer.
- Filtering resolver A resolver that refuses names on a blocklist: it answers NXDOMAIN or a block page without looking them up.
- Encrypted DNS DNS questions sent inside TLS (DoT, port 853) or HTTPS (DoH, port 443), so the path cannot read or change them.
- DNSSEC and encrypted DNS Signed DNS answers, and DNS carried over an encrypted connection to a resolver you chose.
- DNS sinkhole A resolver that answers known-bad domains with a harmless address or NXDOMAIN, blocking them for every client.
- Response policy zone (RPZ) A zone of DNS policy rules a resolver loads, overriding answers for listed names in bulk.
- DNS spoofing A forged DNS answer that sends a name to the attacker's address, believed by a client or cached by a resolver.