TechTok #4. Learning the basics about DNS filtering and DNS privacy

We’re continuing our TechTok series, where we answer your questions about ad blocking, VPNs, and technology in general. We’ve already covered several VPN- and ad blocking-related topics, so today let’s tackle some of your questions about DNS filtering and DNS privacy. It seems logical to kick things off with this question from Lenny:

How does AdGuard DNS work? What are some of the pros and cons of DNS filtering compared to the regular ad blocking and when is it best to use each of them?

DNS filtering is a very important tool in privacy protection and ad blocking, and to better understand it we should first brush up on what DNS is and how it works.

Let’s say you type something into your browser’s address bar or click on a link. How does the browser know where to take you? It only understands the language of IP addresses, and not human words like google.com. So in order to learn the website’s IP address the browser reaches a DNS server. DNS stands for “Domain Name System,” and this system exists to translate domain names (e. g. google.com) into IP addresses (e. g. 74.125.139.139). There are many DNS servers that can serve as translators, and you can use any one of them. Your Internet Service Provider (ISP) will provide you with a default DNS server, but you can go ahead and switch to any one that you prefer.

How DNS works
How DNS works

A ‘normal’ DNS server will simply return the IP address of the website you want to visit, without any ifs and buts. There are, however, DNS servers that under certain circumstances instead of giving the browser the correct IP address return 0.0.0.0, effectively pointing it to a ‘black hole.’ This is precisely how ad-blocking DNS servers, including AdGuard DNS, work.

How DNS filtering works
The basic principle behind DNS filtering

Different servers may have different lists of domains they block — in case of AdGuard DNS it’s a long list of ad, tracking, and malicious domains.

💡
AdGuard DNS Family also blocks domains associated with adult content.

Now let’s compare DNS filtering with regular filtering. Its main drawback is apparent — with DNS filtering, you can only block entire domains. It lacks the finesse of the more nuanced web filtering, where you would be able to block specific requests, apply ‘cosmetic’ rules to make the page look better after blocking the ad, and do many more things. Nearly all other drawbacks of DNS blocking stem from this inability one way or another and can be described altogether as “much less flexible filtering.” But what about the advantages?

First and foremost, it’s the ability to easily set it up on virtually any device connected to the Internet — phones and tablets, smart TVs, even smart home appliances. While in order to do web filtering you’d need a browser extension or a standalone ad-blocking app, with DNS filtering you can literally change one line of text in your router’s settings, and all devices connected to your home Wi-Fi will be protected from ads and trackers.

💡
Some routers even come with pre-installed DNS solutions. For example, all ASUS Wi-Fi 7-compatible routers come integrated with AdGuard DNS out of the box.

Another distinct advantage of DNS filtering is that it is being applied at the earliest possible stage, so in a sense it’s the most efficient way to block ads and prevent tracking, especially on mobile devices where battery and traffic consumption may be of concern.

To sum it up and to answer the last part of Lenny’s question, ideally you would want to supplement network filtering with DNS filtering on all devices that support both. They complement each other, especially in terms of protecting you against tracking. If you have to choose, and if your device allows it, opt for regular web filtering — it is more flexible and will give you a better overall experience. And on devices like routers and smart TVs go for DNS protection, as it might be the only option available there.

💡
For more details on how DNS in general and DNS filtering in particular work, visit our Knowledge base.

Now that we know how DNS and DNS filtering work, it’s time to talk about how to keep your DNS connection safe and private. This simple question from xiulou will help us kickstart the conversation:

What do you think of the DNScrypt protocol?

Just like your regular web traffic needs to be secured to prevent bad actors from spoofing and tampering with it, your DNS traffic needs that too. DNSCrypt was one of the earliest attempts at encrypting DNS queries to protect them from surveillance. At the time, it was a serious breakthrough in DNS privacy, but mostly because the alternatives were virtually non-existent. DNSCrypt is still around today (and AdGuard DNS supports it to this day), but it’s been long surpassed and overshadowed by more modern protocols like DNS-over-HTTPS and DNS-over-TLS.

Speaking of those, Dmitry inquires:

Please explain “for dummies” how DNS-over-TLS and DNS-over-HTTPS work.

DNSCrypt, despite being the pioneer of DNS encryption protocols, is only responsible for less than 10% of all encrypted DNS requests today. Much more popular protocols are DNS-over-TLS (DoT) and especially DNS-over-HTTPS (DoH), which together take up close to 90% of all encrypted DNS traffic. Let’s try to dip a little into how they work.

With unencrypted DNS, when your browser requests the IP address of the website you’re connecting to, it sends the request with the domain name of that website to the DNS server in plain text. This means that anyone who ‘listens’ to your DNS traffic faces no hurdles and can easily see every single website that you’re trying to visit — this is not private at all.

With DoH, your DNS communication is encrypted with HTTPS — the known, go-to secure protocol that you see everywhere on the web (think green lock icons next to the address bar in your browser). Every DNS query your browser sends over DoH is encrypted by being ‘wrapped’ inside an HTTPS request. This not only provides protection in and of itself, but also makes your DNS traffic look like regular HTTPS traffic to outside observers. This way they might not even realize what they see is a DNS query, let alone look inside it.

DoT operates in a slightly different way to DoH. It uses TLS security protocol to create a direct, secure tunnel between your browser and the DNS server, over which the DNS queries can travel both ways. This makes your DNS traffic safe, but also much more trivial to detect for anyone watching, as it’s easily distinguished from regular HTTPS traffic. All in all, both protocols provide security but do it differently and each has its own uses.

There are more DNS-related questions left, but it’s impossible to pack all the answers in just one article. We will definitely get back to DNS filtering and DNS privacy later — send us more of your questions about DNS and on other topics over through this form, and you might see the answers already in the next TechTok edition!

喜歡這篇文章嗎?
9,332 9332 使用者評論
非常好!

AdGuard VPN Windows 版

安心使用任何瀏覽器或應用程式,而不用再擔心匿名性。使用 AdGuard VPN 體驗當整個世界仿佛就在你的指尖上時是什麼樣的感覺。
下載
透過下載該程式,您接受授權協定的條款
了解更多
AdGuard VPN Windows 版的主畫面,顯示 VPN 連線已啟用。
AdGuard VPN Windows 版的主畫面,顯示已中斷連線的狀態。
例外清單畫面,顯示不使用 VPN 的網站清單。
9,332 9332 使用者評論
非常好!

AdGuard VPN Mac 版

從我們的位於世界各地的 75+ 個伺服器位置一鍵選擇所需要的伺服器。安全隱藏個人數據避免受到他人的監視。
下載
透過下載該程式,您接受授權協定的條款
了解更多
AdGuard VPN Mac 版的主畫面,VPN 連線已啟用。
AdGuard VPN Mac 版的主畫面,顯示未連線狀態。
例外清單畫面,顯示不使用 VPN 的網站清單。
9,332 9332 使用者評論
非常好!

AdGuard VPN Android 版

AdGuard VPN Android 版提供數十個高速伺服器位置。隨時隨地更私密地瀏覽。內建 DNS 保護,封鎖廣告和追蹤器。
了解更多
下載
透過下載該程式,您接受授權協定的條款
Google Play
透過下載該程式,您接受授權協定的條款
AdGuard VPN Android 版的主畫面,顯示 VPN 連線已啟用。
AdGuard VPN Android 版的主畫面,顯示連線已中斷的狀態。
「位置」畫面顯示可用的最快伺服器。
例外清單畫面,顯示不使用 VPN 的網站清單。
顯示用於安裝 AdGuard VPN 之 QR 碼的畫面。
9,332 9332 使用者評論
非常好!

AdGuard VPN iOS 版

使用適用於 iOS 的 AdGuard VPN 匿名保護個人隱私並觀看您喜歡的節目。使用內建 DNS 保護封鎖廣告。
了解更多
App Store
透過下載該程式,您接受授權協定的條款
AdGuard VPN iOS 版的主畫面,顯示 VPN 連線已啟用。
AdGuard VPN iOS 版的主畫面,顯示為已中斷連線狀態。
「位置」畫面顯示可用的最快伺服器。
例外清單畫面,顯示不使用 VPN 的網站清單。
顯示用於安裝 AdGuard VPN 之 QR 碼的畫面。
9,332 9332 使用者評論
非常好!

AdGuard VPN 於 Android TV 平台

探索專為 Android TV 設計的 AdGuard VPN!享受無縫串流、加強的安全防護,以及簡單的設定過程。
下載
透過下載該程式,您接受授權協定的條款
Google Play
透過下載該程式,您接受授權協定的條款
了解更多
AdGuard VPN Android TV 版的主畫面,已啟用與芬蘭赫爾辛基伺服器的 VPN 連線。
9,332 9332 使用者評論
非常好!

AdGuard VPN Chrome 版

AdGuard VPN Edge 版

AdGuard VPN Firefox 版

AdGuard VPN Opera 版

隱藏實際位置並“飛到“世界各地、不受速度限制訪問任何內容並保持 Web 上的匿名性。
一鍵連線不同的地理位置,隱藏 IP 位址,讓網路瀏覽更加安全及隱秘。
保護隱私、隱藏真實地理位置、自己決定哪一個網站的流量要通過 VPN 傳送!
成為 Opera 瀏覽器裡的忍者:快速移動到世界任何地方,而不會被他人檢測到。
安裝
透過下載該程式,您接受授權協定的條款
了解更多
安裝
透過下載該程式,您接受授權協定的條款
了解更多
安裝
透過下載該程式,您接受授權協定的條款
了解更多
安裝
透過下載該程式,您接受授權協定的條款
了解更多
AdGuard VPN 瀏覽器擴充功能的主畫面,顯示 VPN 連線已啟用。
「位置」畫面顯示可用的最快伺服器。
9,332 9332 使用者評論
非常好!

AdGuard VPN 用於路由器

在路由器上安裝 AdGuard VPN 全面保護網路。自己決定保護時間,以及要保護的裝置
此選項僅在訂購 AdGuard VPN 後可用
具有鑰匙孔盾牌圖示的路由器。
9,332 9332 使用者評論
非常好!

AdGuard VPN Linux版

安裝用於 Linux 的最佳免費 VPN 服務,享受無縫銜接的網頁瀏覽、更高的安全性、網際網路流量加密和 DNS 防泄露保護。從多個 VPN 伺服器中進行選擇自己喜歡的伺服器位置
AdGuard VPN 的吉祥物天狗與 Linux 企鵝 Tux 一起坐在灌木叢中。
9,332 9332 使用者評論
非常好!

AdGuard VPN Apple TV 版

探索專為 Apple TV 設計的 AdGuard VPN!享受無縫串流、加強的安全防護,以及簡單的設定過程
此選項僅在訂購 AdGuard VPN 後可用
一部帶有 AdGuard VPN 標誌的 Apple TV 串流裝置。
9,332 9332 使用者評論
非常好!

AdGuard VPNXbox 版

使用 AdGuard VPN 保護 Xbox,享受順暢遊戲體驗、增強的安全性和簡單的設定
此選項僅在訂購 AdGuard VPN 後可用
一台 Microsoft Xbox 主機和控制器,附有 AdGuard VPN 標誌。
9,332 9332 使用者評論
非常好!

AdGuard VPN PS4/PS5 版

使用 AdGuard VPN 保護 PlayStation,享受無縫線上遊戲、增強的安全性和簡單的設定。從多個 VPN 伺服器中進行選擇,訪問想要的位置
此功能僅在 AdGuard VPN 高級版可用
此選項僅在訂購 AdGuard VPN 後可用
一台 Sony PlayStation 遊戲主機和控制器,上面有 AdGuard VPN 標誌。
9,332 9332 使用者評論
非常好!

AdGuard VPN Chromecast 版

在 Google TV(Chromecast 4代),或在網路路由器(Chromecast 3代)上安裝 AdGuard VPN,線上保持匿名狀態,隨時隨地訪問網頁以享受 Chromecast 的串流內容。 在 Chromecast 3代上,使用者需要 AdGuard VPN 訂閱。
此選項僅在訂購 AdGuard VPN 後可用
一部帶有鑰匙孔盾牌圖示的 Google Chromecast 串流裝置。
AdGuard VPN
下載已開始
點擊由該箭頭所指示的按鈕以開始安裝。
掃描 QR 圖碼在行動裝置上安裝 AdGuard VPN
顯示用於安裝 AdGuard VPN 之 QR 碼的畫面。