GDPR and DNS
Under the EU's General Data Protection Regulation, DNS query logs are personal data because they tie an IP address or per-device identifier to a behavioural history, so any DNS service used by EU subjects must apply the regulation's lawful-basis, minimisation, and transparency rules.
In plain English
DNS logs look innocent — just a timestamp, an IP, and a domain name — but they reveal which apps and websites you use. EU privacy law treats that as personal data, which means a DNS provider needs a clear purpose, a signed DPA with you, a configurable retention window, and the option to keep the data in the EU.
How it works
GDPR (Regulation 2016/679) defines personal data broadly: anything that can identify a natural person directly or indirectly. The Court of Justice's Breyer judgment confirmed that IP addresses qualify when a provider has reasonable means to link them to a person. DNS logs typically include client IP and queried name, both of which fall under this definition. A compliant DNS provider must publish a lawful basis (legitimate interest or contract), offer a Data Processing Agreement under Article 28, document sub-processors, support Article 15-22 data-subject rights (access, deletion, portability), and provide reasonable retention controls. EU data residency is not strictly required by GDPR but is the simplest way to manage Article 44 transfer rules. Encrypted transports (DoH, DoT, DoQ) and QNAME minimisation are technical safeguards that reduce exposure of personal data in transit.
Related terms
- DNS — base protocol
- DoH — in-transit safeguard
- DoT — in-transit safeguard
- QNAME minimisation — minimises data exposed upstream
- Protective DNS — the deployment model that produces logs
- CIPA compliance — comparable US framework with different priorities
- DNS leak — privacy risk that GDPR cares about
SecDNS perspective
SecDNS retains DNS logs for a configurable window (default 7 days), offers EU-only PoP routing, signs a DPA on request, and lets you export or delete a customer's logs from the dashboard.