macOS

A detailed guide on how to configure encrypted DNS on macOS

macOS Big Sur and later versions support native DNS over HTTPS (DoH) and DNS over TLS (DoT) encrypted DNS. You can enable it using the following steps:

  1. Open the built-in browser Safari, and download the configuration file: dot.mobileconfig
  2. Open System Settings
  3. Open Privacy & Security
  4. Select Profiles
  5. In the downloaded section, select public.adguardprivate.com DoT for configuration

It should be noted that this is an unconventional way to modify system settings. We generally advise iPhone users not to install configuration files from unknown sources on the internet unless you are sure of their origin. The purpose of this site is to provide legitimate personal privacy protection and ad-blocking services, and we will not engage in any actions that are harmful or offensive to users. This statement is to remind users that even if you trust us, do not easily trust configuration files provided by other websites. I will discuss the risks that modifying system DNS settings in this way may bring to you in other articles.

This article displays the specific content of the configuration file below. You can directly copy the content below and paste it into the settings on your iPhone, or you can click the link above to download the configuration file.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
	<dict>
		<key>PayloadContent</key>
		<array>
			<dict>
				<key>DNSSettings</key>
				<dict>
					<key>DNSProtocol</key>
					<string>TLS</string>
					<key>ServerName</key>
					<string>public.adguardprivate.com</string>
				</dict>
				<key>PayloadDescription</key>
				<string>Configures device to use AdGuard Private</string>
				<key>PayloadDisplayName</key>
				<string>public.adguardprivate.com DoT</string>
				<key>PayloadIdentifier</key>
				<string>com.apple.dnsSettings.managed.11b4d48d-8e9b-4e15-b7c1-45cb1c564c99</string>
				<key>PayloadType</key>
				<string>com.apple.dnsSettings.managed</string>
				<key>PayloadUUID</key>
				<string>e9819f0c-250e-49b7-ad89-c0db078c72f0</string>
				<key>PayloadVersion</key>
				<integer>1</integer>
			</dict>
		</array>
		<key>PayloadDescription</key>
		<string>Adds AdGuard Private to macOS Big Sur and iOS 14 or newer systems</string>
		<key>PayloadDisplayName</key>
		<string>public.adguardprivate.com DoT</string>
		<key>PayloadIdentifier</key>
		<string>e0b7d7db-e0d1-4bce-bcf4-8ada45d2f5a3</string>
		<key>PayloadRemovalDisallowed</key>
		<false/>
		<key>PayloadType</key>
		<string>Configuration</string>
		<key>PayloadUUID</key>
		<string>0404cb98-3621-4f97-9530-b18288633d40</string>
		<key>PayloadVersion</key>
		<integer>1</integer>
	</dict>
</plist>