Zum Hauptinhalt springen

UniFi

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.

The newer UniFi firmware recently added support for DNS-over-HTTPS. UniFi refers to this feature as Encrypted DNS.

DNS-over-HTTPS konfigurieren

Befolgen Sie diese Anweisungen, wenn Ihr UniFi-Router DNS-over-HTTPS unterstützt.

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.

Obtain the DNS-over-HTTPS URL that is used to calculate the DNS Stamp URL.

  1. Go to the AdGuard DNS Private Dashboard.
  2. Proceed to Encrypted DNSCustom and enter the following DNS server settings:
    • Device type: 'Router'
    • Device brand: 'Unifi'
    • Device name: Use your Unifi device name
  3. Click Next.
  4. Scroll to Use DNS server addressesDNS-over-HTTPS and take note of the DNS-over-HTTPS URL (e.g., https://d.adguard-dns.com/dns-query/123456abc).

Generate a DNS stamp using the DNSCrypt DNS Stamp Calculator and set it.

  1. Protocol: DNS-over-HTTPS
  2. Host name: d.adguard-dns.com
  3. Path: /dns-query/123456abc (replace 123456abc with the value obtained from your AdGuard DNS Private Dashboard)
  4. Untick
    • No filter
    • No logs
  5. Copy the DNS stamp URL (e.g., sdns://AgcAAAAAA…)

Turn on DNS-over-HTTPS in UniFi.

  1. Melden Sie sich am Ubiquiti UniFi-Controller an.
  2. Go to SettingsSecurity.
  3. Click Protection.
  4. Proceed to Encrypted DNSCustom and enter the following DNS server addresses.
    • Server Name: 'AdGuard DNS'
    • DNS Stamp: DNS stamp URL copied from above
  5. Klicken Sie auf Speichern.

Administrationsoberfläche Ihres Routers verwenden

Use these instructions if your UniFi router does not support the DNS-over-HTTPS or DNS-over-TLS configuration.

  1. Melden Sie sich am Ubiquiti UniFi-Controller an.
  2. Öffnen Sie EinstellungenNetzwerke.
  3. Klicken Sie auf Netzwerk bearbeitenWAN.
  4. Proceed to Common SettingsDNS Server and enter the following DNS server addresses:
    • IPv4: 94.140.14.49 und 94.140.14.59
    • IPv6: 2a10:50c0:0:0:0:0:ded:ff und 2a10:50c0:0:0:0:0:dad:ff
  5. Klicken Sie auf Speichern.
  6. Wechseln Sie zurück zu Netzwerk.
  7. Wählen Sie Netzwerk bearbeitenLAN.
  8. Suchen Sie nach DHCP Name Server und wählen Sie Manuell.
  9. Geben Sie Ihre Gateway-Adresse im Feld DNS-Server 1 ein. Alternatively, you can enter the AdGuard DNS server addresses in the DNS Server 1 and DNS Server 2 fields:
    • IPv4: 94.140.14.49 und 94.140.14.59
    • IPv6: 2a10:50c0:0:0:0:0:ded:ff und 2a10:50c0:0:0:0:0:dad:ff
  10. Speichern Sie die Einstellungen.
  11. Verknüpfen Sie Ihre IP-Adresse (oder Ihre dedizierte IP, falls Sie ein Team-Abonnement haben).