You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/private-dns/connect-devices/routers/unifi.md
+39-1Lines changed: 39 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,45 @@ title: UniFi
3
3
sidebar_position: 10
4
4
---
5
5
6
-
The UiFi router (commonly known as Ubiquiti's UniFi series) has a number of advantages that make it particularly suitable for home, business, and enterprise environments. Unfortunately, it does not support encrypted DNS, but it is great for setting up AdGuard DNS via linked IP.
6
+
The UiFi router, commonly known as the Ubiquiti UniFi series, has a number of advantages that make it particularly suitable for home, business, and enterprise environments.
7
+
8
+
The newer UniFi firmware recently added support for DNS-over-HTTPS. UniFi refers to this feature as *Encrypted DNS*.
9
+
10
+
## Configure DNS-over-HTTPS
11
+
12
+
Follow these instructions if your UniFi router supports DNS-over-HTTPS.
13
+
14
+
UiFi routers use a DNS Stamp URL to specify the DNS-over-HTTPS URL. This URL must be calculated using your private DNS-over-HTTPS URL.
15
+
16
+
Obtain the DNS-over-HTTPS URL that is used to calculate the DNS Stamp URL.
17
+
18
+
1. Go to the AdGuard DNS Private Dashboard.
19
+
1. Proceed to *Encrypted DNS* → *Custom* and enter the following DNS server settings:
20
+
- Device type: 'Router'
21
+
- Device brand: 'Unifi'
22
+
- Device name: '(use your Unifi device name)
23
+
1. Click *Next*.
24
+
1. Scroll to *Use DNS server addresses* → *DNS-over-HTTPS* and take note of the DNS-over-HTTPS URL (e.g., https://d.adguard-dns.com/dns-query/123456abc).
25
+
26
+
Generate a DNS Stamp using the [DNSCrypt DNS Stamp Calculator](https://dnscrypt.info/stamps/), and set it:
27
+
28
+
1. Protocol: DNS-over-HTTPS
29
+
1. Host name: d.adguard-dns.com
30
+
1. Path: /dns-query/123456abc (replace 123456abc with the value obtained from your AdGuard DNS Private Dashboard)
31
+
1. Untick
32
+
- No filter
33
+
- No logs
34
+
1. Copy the DNS Stamp URL (e.g., sdns://AgcAAAAAA…)
35
+
36
+
Turn on DNS-over-HTTPS in UniFi
37
+
38
+
1. Log in to the Ubiquiti UniFi controller.
39
+
1. Go to *Settings* → *Security*.
40
+
1. Click *Protection*.
41
+
1. Proceed to *Encrypted DNS* → *Custom* and enter the following DNS server addresses.
0 commit comments