Ubiquiti UniFi Setup Guide ​
This guide will help you configure Ubiquiti UniFi to use the UK DNS Privacy Project's secure public DNS resolvers, enhancing your network's privacy and security.
Prerequisites ​
- A working UniFi Network setup (UniFi Controller, Dream Machine, or USG/UDM).
- Access to the UniFi Network Web Interface.
- Admin privileges to modify network settings.
Step 1: Access the UniFi Network Controller ​
- Open a web browser and log in to your UniFi Controller via:or through UniFi Cloud Access.
https://<your-controller-ip>:8443
- Navigate to Network.
Step 2: Configure Custom DNS Servers ​
- In the Internet section, click on your WAN COnnection and find the IPv4 Configuration panel.
- Scroll down to the DNS Server section.
- Uncheck the Auto box to manually enter custom DNS servers.
- Enter the UK DNS Privacy Project's resolvers:
- Primary Server:
209.250.227.42
- Secondary Server:
64.176.190.82
- Primary Server:
- If using IPv6, scroll to the IPv6 Configuration section.
- Uncheck the Auto box to manually enter custom DNS servers.
- Enter the UK DNS Privacy Project's resolvers:
- Primary Server:
2001:19f0:7400:13c7:5400:05ff:fe40:d1ad
- Secondary Server:
2a05:f480:3400:24fd:5400:05ff:fe40:e60b
- Primary Server:
- Click Apply Changes to save.
Step 3: Enable Encrypted DNS in UniFi Security Settings ​
For enhanced security and privacy, you can enable UniFi Encrypted DNS and configure Secure DNS (SDNS) URLs.
- Navigate to Security > Protection > Encrypted DNS.
- Check Custom.
- Enter the UK DNS Privacy Project's DNS Stamps:
Server Name | DNS Stamp |
---|---|
ukdnsprivacyproject-doh | sdns://AgcAAAAAAAAAAAAacmVzb2x2ZXIuZG5zcHJpdmFjeS5vcmcudWsKL2Rucy1xdWVyeQ |
ukdnsprivacyproject-dot | sdns://AwcAAAAAAAAAAAAacmVzb2x2ZXIuZG5zcHJpdmFjeS5vcmcudWs |
- Click Apply Changes to apply the settings.
Step 4: Apply Changes and Test ​
Reboot your UniFi Gateway or Dream Machine to apply changes.
Visit the UK DNS Project homepage to verify that your system is using the configured DNS.
Troubleshooting ​
- Ensure your WAN and LAN DNS settings are not conflicting.
- Restart the UniFi Controller if changes are not applying.
- Check UniFi's Network Logs for DNS-related issues.
For more assistance, visit our Getting Help page.