networking:dns:dns_over_tls
Differences
This shows you the differences between two versions of the page.
networking:dns:dns_over_tls [2020/12/18 10:30] – created peter | networking:dns:dns_over_tls [2020/12/18 10:36] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Networking - DNS - DNS over TLS ====== | ====== Networking - DNS - DNS over TLS ====== | ||
- | |||
- | ===== Problem Statement ===== | ||
DNS is insecure because by default DNS queries are not encrypted, which can be exploited (man-in-the-middle). | DNS is insecure because by default DNS queries are not encrypted, which can be exploited (man-in-the-middle). | ||
As DNS is based on UDP, which is a connection-less protocol, any DNS response can easily be manipulated to provide a spoofed IP. So there is no guarantee that what the DNS query resolves to the real IP. | As DNS is based on UDP, which is a connection-less protocol, any DNS response can easily be manipulated to provide a spoofed IP. So there is no guarantee that what the DNS query resolves to the real IP. | ||
+ | |||
+ | **DNS over TLS** means that DNS queries are sent over a secure connection encrypted with TLS, the same technology that encrypts HTTP traffic, so no third parties can see your DNS queries. | ||
---- | ---- | ||
- | ===== Solution | + | ===== Stubby |
- | DNS over TLS means that DNS queries are sent over a secure connection encrypted with TLS, the same technology that encrypts HTTP traffic, so no third parties can see your DNS queries. | + | Stubby is an open-source DNS stub resolver which supports DNS over TLS by default |
- | + | ||
- | One approach is to use Stubby for DNS over TLS. | + | |
- | + | ||
- | Stubby is an open-source DNS stub resolver | + | |
<WRAP info> | <WRAP info> | ||
- | **NOTE: | + | **NOTE: |
There are other stub resolvers that also support DNS over HTTPS, such as cloudflared, | There are other stub resolvers that also support DNS over HTTPS, such as cloudflared, | ||
</ | </ | ||
- | |||
- | ---- | ||
networking/dns/dns_over_tls.1608287401.txt.gz · Last modified: 2020/12/18 10:30 by peter