SecDNS

GDPR and DNS

DNS query logs are personal data under GDPR, so EU-facing DNS providers must minimise retention, sign Article 28 DPAs, and offer EU data residency.

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.

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.

Frequently asked questions

Are DNS logs personal data?

In almost every case yes. DNS logs link an IP address (or a per-device DoH token) to a browsing history, which is more than enough to identify a natural person under GDPR.

Do I need a DPA with my DNS provider?

Yes if the provider processes any personal data on your behalf, which is almost always true for DNS query logs. Article 28 requires a written processor agreement.