|
| 1 | +--- |
| 2 | +title: Choosing a DNS protocol |
| 3 | +sidebar_position: 2 |
| 4 | +--- |
| 5 | + |
| 6 | +A DNS protocol is a set of rules that your device uses to communicate with a DNS server — a system that translates website names, like example.com, into IP addresses that computers can understand. This process used to occur in plain text, meaning it could be seen or intercepted by third parties, such as your ISP or hackers. Encrypted DNS protocols address this issue by protecting your DNS requests, thereby making your browsing more private and secure. |
| 7 | + |
| 8 | +AdGuard DNS supports three secure, encrypted DNS protocols: DoH, DoT, and DoQ. They’re all designed to protect your DNS traffic, but each one has its own strengths and limitations. The following overview will help you understand the differences and choose the best one for you. |
| 9 | + |
| 10 | +### DNS-over-TLS (DoT) |
| 11 | + |
| 12 | +DNS-over-TLS improves privacy by encrypting your DNS traffic and sending it over port 853, which is specifically reserved for encrypted DNS traffic. |
| 13 | + |
| 14 | +DoT isn’t the strongest option when it comes to privacy. It uses the dedicated port (853), making it easier for networks to detect and possibly block. However, DoT can still be useful in enterprise or managed environments where administrators want to allow secure DNS while maintaining control over network traffic. |
| 15 | + |
| 16 | +### DNS-over-HTTPS (DoH) |
| 17 | + |
| 18 | +DNS-over-HTTPS sends your DNS queries over port 443, the same secure connection used to load websites. This makes it harder for networks or censors to detect or block. |
| 19 | + |
| 20 | +However, it can be unstable and result in performance issues. When all data packets share the same connection, they rely on the same transport layer. This can cause a problem called head-of-line blocking. If one packet is lost or delayed, it holds up everything else, including unrelated packets. As a result, all responses are delayed, even if most of the data is ready to be delivered. |
| 21 | + |
| 22 | +### DNS-over-QUIC (DoQ) |
| 23 | + |
| 24 | +DNS-over-QUIC is a DNS protocol that uses the QUIC transport layer protocol to transmit DNS requests. It solves one of the main problems with the DoH protocol: instability due to head-of-line blocking. |
| 25 | + |
| 26 | +Since DoQ uses the QUIC protocol to keep DNS activity separate from web traffic, it avoids the timing issues observed in DoH. Consequently, it doesn't reveal any traffic patterns. This makes it harder to link your DNS queries to your browsing activity, even though the traffic itself is easier to spot. |
| 27 | + |
| 28 | +If you're looking for a combination of privacy and stability, DoQ is usually the best choice. |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | +:::note |
| 33 | + |
| 34 | +More detailed information about head-of-line blocking and the DNS-over-QUIC protocol can be found in our [blog post](https://adguard-dns.io/en/blog/dns-over-quic.html) |
| 35 | + |
| 36 | +::: |
0 commit comments