EDU Tutorial: DNS Privacy: Sara Dickinson Sinodun
EDU Tutorial: DNS Privacy: Sara Dickinson Sinodun
DNS Privacy
Sara Dickinson
Sinodun
sara@sinodun.com
• DNS standards:
DNS sent in clear text
• UDP (99% of traffic to root) -> NSA: ‘MORECOWBELL’
• TCP only for ‘fallback’ when UDP MTU exceeded and XFR
(support only mandatory from 2010)
Rec
datatracker.ietf.org
datatracker.ietf.org Auth
for .org
Auth for
ietf.org
datatracker.ietf.org
CPE
CPE
Rec
Auth
• When at home… for .org
• When in a coffee shop…
Who monitors or has
DNS Privacy Tutorial @ IETF 97 12 access
Novhere?
2016, Seoul
DNS - complications
• Basic problem is leakage of meta data
Passive
Monitoring
Active
Monitoring
Other
Disclosure
Risks
e.g. Data
breaches
Auth
for .org
DNS Privacy Tutorial @ IETF 97 21 Nov 2016, Seoul
RFC 7626 -
DNS Privacy Considerations
Worth a read - many
interesting issues here!
“A typical example from outside the DNS world is: the web site of
Alcoholics Anonymous is public; the fact that you visit it should not be.”
• STARTTLS
Drafts submitted on all
• TLS these solutions to the
working group
• DTLS
• DNS-over-TCP history:
Servers handle
many connections Learn from HTTP world!
robustly
a1 a1 reply as
soon
stub as possible
a2
29
DNS Privacy Tutorial @ IETF 97 Nov 2016, Seoul
Authentication in
DNS-over-(D)TLS
2 Usage Profiles:
• SPKI pinset
1: Obtain a
Auth Domain name
& IP address
2a:
• Opportunistic lookup of DANE
records for server
(1a)
• Validate locally with DNSSEC
• Configure Auth
domain name
• Do Opportunistic
SRV lookup
• Reduces Latency
(1a) • Eliminates need for
• Configure Auth
intermediate recursive
domain name
• Do Opportunistic
SRV lookup
Completed
draft-ietf-dprive-dnsodtls* DNS-over-DTLS
WGLC
draft-ietf-dprive-dtls-and-
tls-profiles
In WGLC Authentication for DNS-over-(D)TLS
• Data on DNS-over-(D)TLS
Rec
datatracker.ietf.org
datatracker.ietf.org Auth
for .org
Auth for
ietf.org
datatracker.ietf.org
Rec
datatracker.ietf.org
ietf.org Auth
for .org
Auth for
ietf.org
datatracker.ietf.org
Encryption
Passive
(e.g. TLS,
monitoring
HTTPS)
QNAME
Minimization
Active Authentication
monitoring & Encryption
Other
Disclosure
Data Best Practices (Policies)
Risks
e.g. De-identification
e.g. Data
breaches
DNS Privacy Tutorial @ IETF 97 41 Nov 2016, Seoul
DNS-SD
• I-D: Privacy Extensions for DNS-SD - adopted by
WG
• 3 step design
Recursive implementations
Features Recursive resolver
EDNS0 Keepalive
Alternative server
side solutions
• Pure TLS load balancer
• NGINX, HAProxy
• BIND article on using stunnel
Stub implementations
Features Stub
EDNS0 Keepalive
DNS-over-TLS Servers
Hosted by Software
OARC Unbound
IETF?
getdns
• Modern async DNSSEC enabled API
• https://getdnsapi.net
• 1.1.0-alpha3
• Increased deployment
Any Questions?
https://www.surveymonkey.com/r/97privacy