Skip to content

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 ​

  1. Open a web browser and log in to your UniFi Controller via:
    https://<your-controller-ip>:8443
    or through UniFi Cloud Access.
  2. Navigate to Network.

Step 2: Configure Custom DNS Servers ​

  1. In the Internet section, click on your WAN COnnection and find the IPv4 Configuration panel.
  2. Scroll down to the DNS Server section.
  3. Uncheck the Auto box to manually enter custom DNS servers.
  4. Enter the UK DNS Privacy Project's resolvers:
    • Primary Server: 209.250.227.42
    • Secondary Server: 64.176.190.82
  5. If using IPv6, scroll to the IPv6 Configuration section.
  6. Uncheck the Auto box to manually enter custom DNS servers.
  7. 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
  8. 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.

  1. Navigate to Security > Protection > Encrypted DNS.
  2. Check Custom.
  3. Enter the UK DNS Privacy Project's DNS Stamps:
Server NameDNS Stamp
ukdnsprivacyproject-dohsdns://AgcAAAAAAAAAAAAacmVzb2x2ZXIuZG5zcHJpdmFjeS5vcmcudWsKL2Rucy1xdWVyeQ
ukdnsprivacyproject-dotsdns://AwcAAAAAAAAAAAAacmVzb2x2ZXIuZG5zcHJpdmFjeS5vcmcudWs
  1. 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.


Cookies? Nope, we don’t use them — so there’s nothing to accept!