VPNs
DNS leak
Lookups leaving outside a VPN tunnel, telling the local network every name you visit.
A DNS leak is name lookups leaving outside a VPN tunnel, so the local network learns every name you visit
although it cannot read the traffic. It happens when the device keeps using the local network's resolver. VPN clients
close it by setting a resolver reachable only through the tunnel. dig example.com shows which resolver answered
(the SERVER line). Encrypted DNS (DoH, DoT) protects lookups even without a VPN.
Read next
- VPN Packets wrapped, encrypted, in UDP to a VPN server, which unwraps them on the far side.
- Recursive resolver The DNS server a device asks: it does the whole search and caches the answers.
- DNSSEC and encrypted DNS Signed DNS answers, and DNS carried over an encrypted connection to a resolver you chose.
- SNI The site name sent in the clear at the start of a TLS handshake, so the server can pick a certificate.
- DNS tunneling and exfiltration Smuggling data in and out of a network by encoding it inside DNS queries, which firewalls usually let through.
- Traffic correlation Linking a Tor user to a destination by matching the timing and volume of traffic seen at both ends of the circuit.