The Domain Name System (DNS) has long been one of the most valuable data sources for lawful interception and network intelligence. DNS queries reveal which websites a user visits, which services they access, and which applications they use, even when the rest of the traffic is encrypted. For decades, DNS traffic has been transmitted in plaintext, making it readily accessible to network-level interception. The emergence of encrypted DNS protocols — DNS over HTTPS (DoH) and DNS over TLS (DoT) — is fundamentally changing this landscape, with significant implications for capacidades de interceptación lícita.
Este artículo analiza cómo funcionan el DoH y el DoT, por qué se están adoptando, cómo afectan a la interceptación legal y qué pueden hacer los operadores para cumplir con sus obligaciones de cumplimiento normativo en un entorno en el que el tráfico DNS está cada vez más cifrado.
El reto del DNS cifrado para los operadores
Traditional DNS resolution uses port 53 (mostly UDP, with TCP for larger responses), transmitting queries and responses in plaintext. Anyone with access to the network path between the user and the DNS resolver — including the operator, intermediate network elements, and potential eavesdroppers — can observe the DNS queries and determine which domain names the user is resolving.
DNS over TLS (DoT), defined in RFC 7858, encrypts DNS traffic by wrapping it in a TLS connection on TCP port 853. The DNS queries and responses are encrypted in transit, preventing observation by intermediaries. However, the use of a dedicated port (853) makes DoT traffic identifiable at the network level — an observer can determine that DNS resolution is occurring, even though the content of the queries is encrypted. A third protocol, DNS over QUIC (DoQ, RFC 9250), runs on UDP port 853. Oblivious DoH (RFC 9230) additionally hides the user’s IP address from the resolver.
DNS over HTTPS (DoH), defined in RFC 8484, takes encryption a step further by tunnelling DNS traffic within standard HTTPS connections on port 443 (TCP, or UDP when HTTP/3 over QUIC is used). Because DoH uses ordinary HTTPS on port 443, its content cannot be separated from web traffic, although connections to well-known public resolvers can still be recognised by their addresses. DoH effectively hides DNS resolution within the vast volume of encrypted web traffic that traverses modern networks.
Ambos protocolos están diseñados para proteger la privacidad de los usuarios al impedir que los intermediarios de red puedan observar las consultas DNS. Los principales fabricantes de navegadores —entre ellos, Mozilla Firefox y Google Chrome— han implementado la compatibilidad con DoH, y algunos sistemas operativos ya admiten DoH y DoT de forma nativa. La adopción del DNS cifrado se está acelerando, impulsada por la defensa de la privacidad, la configuración predeterminada de los navegadores y la tendencia generalizada hacia el cifrado de todo el tráfico de red.
El impacto en la interceptación legal
The encryption of DNS traffic has a direct and significant impact on lawful interception capabilities. Plaintext DNS queries have traditionally been visible to investigators inside the content of communication (CC): the IP copy of the target’s traffic includes every DNS packet, providing a detailed record of the target’s online activity. When a target visits a website, sends an email, or uses an application, the corresponding DNS queries reveal the domain names involved, even when the content of the communication is encrypted.
Con DoH y DoT, los operadores ya no pueden observar las consultas DNS a nivel de red si el dispositivo del destinatario está configurado para utilizar un resolutor DNS cifrado que no sea gestionado por el operador. El proceso de resolución de DNS está cifrado de extremo a extremo entre el dispositivo y el resolutor, y los equipos de red del operador no pueden descifrar las consultas sin tener acceso a las claves de sesión TLS.
This loss of DNS visibility affects real-time interception: the IP copy of the target’s traffic still contains every DNS packet, but with DoH and DoT those packets are encrypted, so the LEA loses the domain names it used to read from them. Encrypted DNS does not affect retained data: data retention rules, where they apply, cover subscriber and IP-assignment records. They do not cover DNS queries or browsing history, which in Germany are expressly excluded from data retention (§ 176(5) TKG).
El impacto es más grave cuando el destinatario utiliza un resolutor DoH de terceros —como los que gestionan Cloudflare, Google u otros proveedores— en lugar de la propia infraestructura DNS del operador. En este caso, las consultas DNS se resuelven íntegramente fuera de la red del operador, y este no tiene acceso alguno a ellas. Si el destinatario utiliza el propio resolutor DNS del operador con DoT o DoH, el operador conserva el acceso a los datos de las consultas a nivel del resolutor, pero no en los puntos intermedios de la red.
Estrategias de mitigación para los operadores
Operators cannot prevent the adoption of encrypted DNS, but they can implement strategies to mitigate its impact on lawful interception. The first strategy is to operate their own DoH and DoT resolvers and to encourage their subscribers to use these resolvers, for example by advertising them through DDR (RFC 9462) or DNR (RFC 9463) so that devices upgrade to the operator’s encrypted resolver automatically. If the operator runs the encrypted resolver, an interception point at the resolver can still see a target’s queries in plaintext once a valid order is in force. This is not a reason to log all subscribers’ DNS: keeping such data needs its own legal basis. This approach preserves DNS visibility for lawful interception while still providing subscribers with the privacy benefits of encrypted DNS against third-party observation.
The second strategy involves using alternative data sources to reconstruct the information that DNS queries previously provided. Server Name Indication (SNI) in TLS handshakes provides the domain name of the server that the client is connecting to, and this information has traditionally been transmitted in plaintext. However, Encrypted Client Hello (ECH, RFC 9849, published 2026, the successor to ESNI) now encrypts the SNI as well, wherever browser and server support it, further reducing visibility. IP address analysis can also provide some information about which services a target is accessing, but the widespread use of content delivery networks (CDNs) and shared hosting means that IP-to-domain mapping is often ambiguous.
The third strategy is to implement interception at the application layer or at the device level, rather than relying solely on network-level data. This approach is beyond the scope of traditional telecommunications interception, but some jurisdictions already permit device-level interception under strict conditions (in Germany, ‘Quellen-TKÜ’ under § 100a StPO), as a response to the increasing encryption of network traffic. For operators, this is not a practical solution, but it is part of the broader context in which encrypted DNS should be understood.
A fourth strategy involves regulatory and policy engagement. Outside the EU, some governments block third-party resolvers or encrypted handshakes. In the EU, net-neutrality rules (Regulation (EU) 2015/2120) make such blocking by operators difficult without a specific legal basis. These approaches are controversial and raise questions about network neutrality, user freedom, and technical feasibility.
La tendencia general hacia el cifrado
El DNS cifrado forma parte de una tendencia más amplia hacia el cifrado de todo el tráfico de red, impulsada por cuestiones de privacidad, las mejores prácticas de seguridad y las configuraciones predeterminadas de las principales plataformas de software. TLS 1.3, ECH, QUIC y otras tecnologías están cifrando progresivamente una mayor parte de los metadatos y el contenido en los que tradicionalmente se ha basado la interceptación a nivel de red. Cada paso en esta tendencia hacia el cifrado reduce la visibilidad de que disponen los operadores y, por extensión, la de la interceptación legal.
Los operadores deben reconocer que la visibilidad a nivel de red de la que han disfrutado históricamente está disminuyendo y seguirá disminuyendo. La respuesta a esta tendencia no puede ser meramente técnica: requiere la colaboración con los organismos reguladores, los organismos de normalización y las fuerzas del orden para desarrollar nuevos enfoques de interceptación lícita que tengan en cuenta las realidades de un entorno de red fuertemente cifrado.
At the same time, operators must continue to deliver whatever interception data they are technically capable of providing. The encryption of DNS does not eliminate the operator’s legal obligation to intercept; it changes the scope of what can be intercepted. Operators must remove encryption they apply in the network or whose keys they help generate or exchange (in Germany § 8(3) TKÜV). Third-party DoH or DoT traffic is handed over as captured. Operators must be transparent with law enforcement about these limitations and must ensure that their LI systems are updated to handle the reduced visibility gracefully — delivering the complete copy of the target’s traffic, encrypted DNS included, without filtering it.
Repercusiones en materia de cumplimiento normativo y presentación de informes
Encrypted DNS does not reduce what an operator has to deliver: the complete copy of the target’s traffic, including the encrypted DNS packets, still meets the obligation. What changes is what law enforcement can read from it, and operators should explain this when agencies ask why domain names are missing.
Es posible que los organismos reguladores de algunas jurisdicciones tengan que actualizar sus requisitos técnicos y expectativas para tener en cuenta la realidad del DNS cifrado. Los operadores pueden desempeñar un papel constructivo en este proceso aportando sus conocimientos técnicos y su experiencia práctica para orientar el desarrollo de la normativa. El peor resultado para todas las partes sería que la normativa exigiera a los operadores que facilitaran datos a los que no pueden acceder técnicamente, una situación que generaría un riesgo de incumplimiento normativo sin aportar ningún valor a la investigación.
Conclusión
Encrypted DNS represents a significant shift in the balance between privacy and surveillance capability in telecommunications networks. DoH and DoT protect user privacy by preventing the observation of DNS queries by network intermediaries, but they also reduce the visibility available to lawful interception systems. Operators can help by offering their own encrypted DNS resolvers, leveraging alternative data sources, engaging with regulators on evolving requirements, and ensuring that their LI systems accurately reflect the data that is actually available. The trend toward comprehensive network encryption is irreversible, and operators that adapt proactively will be better positioned to maintain compliance and to provide meaningful support to law enforcement within the constraints of the evolving technical landscape.
El debate en torno al DNS cifrado también pone de relieve la tensión existente entre los derechos de privacidad de las personas y las necesidades legítimas de las fuerzas del orden. Encontrar el equilibrio adecuado requiere la colaboración entre los expertos en tecnología, los responsables políticos, la sociedad civil y las fuerzas del orden. Los operadores se encuentran en la encrucijada de estos intereses y tienen la responsabilidad única de garantizar que las capacidades técnicas, las obligaciones legales y las medidas de protección de la privacidad estén en consonancia. Al participar activamente en el desarrollo de normas, en las consultas regulatorias y en los foros del sector, los operadores pueden contribuir a dar forma a soluciones que respeten la privacidad y, al mismo tiempo, preserven la capacidad de las sociedades democráticas para llevar a cabo una vigilancia lícita de conformidad con el Estado de derecho.
Artículos relacionados
Si desea leer más sobre temas relacionados, consulte estos artículos:
- El «network slicing» en 5G SA: cómo complica (y puede simplificar) la selección de objetivos de LI
- Investigación de casos asistida por IA: qué supone la automatización para los operadores y los flujos de trabajo de las fuerzas del orden
- IRI frente a CC: qué significa en la práctica la información relacionada con la interceptación
Recursos externos
Los siguientes recursos externos proporcionan contexto adicional y documentación oficial:



