DNS מוצפן (DoH/DoT) והשפעתו על יכולות היירוט החוקיות

DNS מוצפן – דוגמה לעמידה בדרישות החוק בנושא יירוט תקשורת

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 יכולות יירוט חוקיות.

מאמר זה בוחן כיצד פועלים פרוטוקולי DoH ו-DoT, מדוע הם מיושמים, כיצד הם משפיעים על יירוט חוקי, ומה יכולים המפעילים לעשות כדי לעמוד בחובות הציות שלהם בסביבה שבה תעבורת ה-DNS מוצפנת יותר ויותר.

האתגר של ה-DNS המוצפן עבור ספקי שירותי תקשורת

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.

שני הפרוטוקולים נועדו להגן על פרטיות המשתמשים על ידי מניעת מעקב אחר שאילתות DNS על ידי מתווכים ברשת. ספקי הדפדפנים המובילים — כולל Mozilla Firefox ו-Google Chrome — יישמו תמיכה ב-DoH, וכמה מערכות הפעלה תומכות כעת ב-DoH וב-DoT באופן מובנה. אימוץ ה-DNS המוצפן הולך ומתגבר, בהשפעת המאבק למען הפרטיות, הגדרות ברירת המחדל של הדפדפנים והמגמה הרחבה יותר להצפנת כל תעבורת הרשת.

ההשפעה על יירוט חוקי

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.

באמצעות DoH ו-DoT, ספקי השירות אינם יכולים עוד לעקוב אחר שאילתות DNS ברמת הרשת אם המכשיר של היעד מוגדר לשימוש במפתר DNS מוצפן שאינו מופעל על ידי ספק השירות. תהליך פתרון ה-DNS מוצפן מקצה לקצה בין המכשיר למפתר, וציוד הרשת של המפעיל אינו יכול לפענח את השאילתות ללא גישה למפתחות ההפעלה של 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).

ההשפעה חמורה ביותר כאשר היעד משתמש במפתרון DoH של צד שלישי — כגון אלה המופעלים על ידי Cloudflare, Google או ספקים אחרים — במקום בתשתית ה-DNS של המפעיל עצמו. במקרה זה, שאילתות ה-DNS נפתרות באופן מלא מחוץ לרשת המפעיל, ולמפעיל אין כל גישה אליהן. אם היעד משתמש במפתר ה-DNS של המפעיל עצמו עם DoT או DoH, המפעיל שומר על גישה לנתוני השאילתה ברמת המפתר, אך לא בנקודות רשת ביניים.

אסטרטגיות למזעור נזקים עבור מפעילי מתקנים

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.

המגמה הרחבה יותר בתחום ההצפנה

DNS מוצפן הוא חלק ממגמה רחבה יותר של הצפנת כל תעבורת הרשת, המונעת על ידי שיקולי פרטיות, שיטות עבודה מומלצות בתחום האבטחה והגדרות ברירת המחדל של פלטפורמות התוכנה המובילות. טכנולוגיות כגון TLS 1.3, ECH, QUIC ואחרות מצפינות בהדרגה חלקים נרחבים יותר ויותר מהמטא-נתונים ומהתוכן שעליהם הסתמכה באופן מסורתי היירוט ברמת הרשת. כל צעד במגמת הצפנה זו מצמצם את הנראות העומדת לרשות המפעילים, ובהמשך לכך – גם את היירוט החוקי.

על המפעילים להכיר בכך שהנראות ברמת הרשת, ממנה נהנו בעבר, הולכת ופוחתת ותמשיך לפחת. התגובה למגמה זו לא יכולה להיות טכנית גרידא — היא מחייבת שיתוף פעולה עם רגולטורים, גופי תקינה ורשויות אכיפת החוק, כדי לפתח גישות חדשות ליירוט חוקי, אשר ייקחו בחשבון את המציאות של סביבת רשת מוצפנת בכבדות.

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.

השלכות על עמידה בדרישות ודיווח

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.

ייתכן שגורמי הפיקוח בחלק מהשיפוטים יצטרכו לעדכן את הדרישות והציפיות הטכניות שלהם כדי להתחשב במציאות של DNS מוצפן. למפעילים יכול להיות תפקיד בונה בתהליך זה, באמצעות מתן מומחיות טכנית ותובנות מעשיות שיסייעו בעיצוב הרגולציה. התוצאה הגרועה ביותר עבור כל הצדדים תהיה ציפייה רגולטורית שמפעילי הרשת יספקו נתונים שאין ביכולתם הטכנית לגשת אליהם — מצב שיוצר סיכון של אי-עמידה בדרישות הרגולטוריות מבלי לספק ערך חקירתי.

סיכום

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.

הדיון סביב ה-DNS המוצפן מדגיש גם את המתח שבין זכויות הפרטיות של הפרט לצרכים הלגיטימיים של רשויות אכיפת החוק. מציאת האיזון הנכון מחייבת שיתוף פעולה בין אנשי טכנולוגיה, קובעי מדיניות, החברה האזרחית ורשויות אכיפת החוק. המפעילים נמצאים בנקודת המפגש בין האינטרסים הללו, ועליהם אחריות ייחודית להבטיח תיאום בין היכולות הטכניות, החובות המשפטיות וההגנות על הפרטיות. באמצעות השתתפות פעילה בפיתוח תקנים, בהתייעצויות רגולטוריות ובפורומים ענפיים, יכולים המפעילים לסייע בעיצוב פתרונות המכבדים את הפרטיות, תוך שמירה על יכולתן של חברות דמוקרטיות לבצע מעקב חוקי בהתאם לשלטון החוק.

מאמרים קשורים

לקריאה נוספת בנושאים קשורים, עיין במאמרים הבאים:

משאבים חיצוניים

המשאבים החיצוניים הבאים מספקים מידע רקע נוסף ומסמכים רשמיים:

גלול לראש הדף
ICS
סקירה כללית בנושא פרטיות

אתר זה משתמש בעוגיות כדי שנוכל לספק לך את חוויית המשתמש הטובה ביותר האפשרית. מידע העוגיות מאוחסן בדפדפן שלך ומבצע פונקציות כגון זיהוי שלך כשאתה חוזר לאתר שלנו ועוזר לצוות שלנו להבין אילו חלקים באתר אתה מוצא מעניינים ושימושיים ביותר.