How to Enable AdGuard DNS on All Your Devices (iPhone, Android, Windows, and Wi-Fi Router)
AdGuard DNS 是一项免费的公共 DNS 服务,可自动阻止广告、跟踪器和某些恶意网站,而无需您安装扩展程序或应用程序。 You simply need to change the DNS addresses used by your device or router.
在本教程中,我们将了解如何手动配置它:
- iPhone(iOS)
- 安卓
- 窗户
- 您的 Wi-Fi 路由器
What Is DNS, and Why Switch to AdGuard?
DNS(域名系统)将域名(例如 example.com)转换为 IP 地址。 By using a DNS server such as AdGuard, requests to domains known for advertising, tracking, or scams are blocked before the content even loads.
AdGuard offers 3 types of public DNS servers:
| 服务器类型 | 效果 |
|---|---|
| 默认 | 阻止广告和跟踪器 |
| 未过滤 | 不阻挡任何东西; works as a standard DNS server |
| 家庭保护 | Blocks ads, trackers, and adult content + enables SafeSearch |
Server Addresses (DNS / IP)
默认服务器
- IPv4:
94.140.14.14and94.140.15.15 - IPv6:
2a10:50c0::ad1:ff和2a10:50c0::ad2:ff
未过滤的服务器
- IPv4:
94.140.14.140and94.140.14.141 - IPv6:
2a10:50c0::1:ffand2a10:50c0::2:ff
Family Protection server
- IPv4:
94.140.14.15和94.140.15.16 - IPv6:
2a10:50c0::bad1:ff和2a10:50c0::bad2:ff
对于加密 DNS(DNS-over-HTTPS,在 iOS/Android 上使用“私有 DNS”):
- Default:
dns.adguard-dns.com - Unfiltered:
unfiltered.adguard-dns.com - Family Protection:
family.adguard-dns.com
1. Configure AdGuard DNS on Android
-
转至 设置 → 网络和互联网(或 Wi-Fi 和互联网,具体取决于您的 Android 版本)。
-
Open Advanced → Private DNS.
-
选择 私有 DNS 提供商主机名,然后根据您想要的模式输入以下主机名之一:
dns.adguard-dns.com(阻止广告和跟踪器)unfiltered.adguard-dns.com(no filtering)family.adguard-dns.com(family protection)
-
点击保存。
就是这样! Your Android device will now use AdGuard DNS on all networks (Wi-Fi and mobile data).
2. Configure AdGuard DNS on iPhone (iOS)
在 iOS 上,最简单的方法是安装 配置文件:
-
Open the AdGuard DNS public DNS page from your iPhone and go to the iOS section.
-
选择所需的服务器(默认、未过滤或家庭保护),然后点击下载配置文件。
- Tip: The Profile Constructor allows you to customize the profile, including choosing DNS-over-HTTPS or DNS-over-TLS encryption and excluding certain Wi-Fi networks or domains.
-
Open the Settings app on your iPhone.
-
您应该在设置顶部看到 配置文件已下载。点击它。
-
Tap Install, then follow the instructions on screen (passcode, confirmation, etc.).
安装后,您的 iPhone 将本机使用 AdGuard DNS,包括在使用移动数据时。
3. Configure AdGuard DNS on Windows
-
Go to Start → Control Panel.
-
Click Network and Internet.
-
Click Network and Sharing Center.
-
In the left-hand menu, select Change adapter settings.
-
Right-click the Wi-Fi connection (or Ethernet connection) you are using, then select Properties.
-
Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
-
Select Use the following DNS server addresses, then enter:
- Preferred DNS server:
94.140.14.14 - Alternate DNS server:
94.140.15.15
(Replace these with
94.140.14.140/94.140.14.141for the Unfiltered version, or94.140.14.15/94.140.15.16for Family Protection.) - Preferred DNS server:
-
单击“确定”。
-
Do the same for Internet Protocol Version 6 (TCP/IPv6) if you also want to configure IPv6:
- 首选:
2a10:50c0::ad1:ff- 备用:
2a10:50c0::ad2:ff
- 备用:
- 单击“确定”,然后单击“关闭”。
4. 直接在 Wi-Fi 路由器上配置 AdGuard DNS
在路由器级别配置 DNS 允许您保护连接到家庭网络的所有设备,而无需在每个单独的设备上安装或配置任何内容。
-
打开网络浏览器并访问路由器的管理界面。取决于品牌的常见地址包括:
- Linksys / 华硕:
192.168.1.1 - Netgear:
192.168.0.1或192.168.1.1 - D-Link:
192.168.0.1 - (对于阿尔及利亚或当地 ISP 提供的路由器,请检查路由器下方的标签。地址通常列在此处。)
- Linksys / 华硕:
-
使用管理员凭据登录(通常印在路由器上;否则,请联系您的 ISP)。
-
在网络/WAN 设置中查找 DNS 部分。
-
将现有 DNS 地址替换为 AdGuard 地址:
- IPv4:
94.140.14.14和94.140.15.15 - IPv6(如果可用):
2a10:50c0::ad1:ff和2a10:50c0::ad2:ff
- IPv4:
-
保存更改并根据要求重新启动路由器。
⚠️ Some routers, especially those provided by ISPs, lock this setting. In that case, you'll need to configure DNS directly on each device (see the previous sections).
验证它是否有效
配置完成后,您可以通过访问以下地址检查 AdGuard DNS 是否正常工作:
https://adblock.turtlecute.org
如果一切正常,您应该获得 80% 以上的分数,如图所示:

更进一步
如果您想要更多控制(阻止统计数据、自定义过滤器列表、域排除),AdGuard 还提供可以从仪表板进行配置的付费私人 DNS 服务,以及 AdGuard 广告拦截器应用程序,该应用程序会自动配置所有内容。
您甚至可以在 NAS 或服务器上自行托管所有这些。
服务器地址和屏幕截图来源:AdGuard DNS