Skip to content
Sign inDashboard

Windows 11

Windows 11 can send DNS over HTTPS without extra software. It needs two things for each server: an IP address to connect to, and the DoH URL (Windows calls it a template). The IP address only tells Windows where to connect. The path of the template selects your profile and device.

Before you start, get your profile id and choose a device name. The server addresses are the shared addresses of opdns:

  • IPv4: 23.166.164.53 and 23.166.164.35.
  • IPv6, if your network has it: 2602:81f:6000::53 and 2602:81f:6000::35.
  1. Open Settings → Network & internet, then Wi-Fi or Ethernet, and the connection that you use. For Wi-Fi, choose Hardware properties.

  2. Next to DNS server assignment, click Edit and choose Manual.

  3. Turn on IPv4. In Preferred DNS, enter 23.166.164.53.

  4. Set DNS over HTTPS to On (manual template) and enter:

    https://dns.opdns.net/<profile-id>/<device>
  5. Set Fallback to plaintext to Off. If this setting is on and DoH fails, Windows uses unencrypted DNS and does not tell you. opdns cannot identify those queries.

  6. In Alternate DNS, enter 23.166.164.35, with the same DNS over HTTPS setting and template.

  7. If you have IPv6, turn on IPv6. Do the same steps with 2602:81f:6000::53 (preferred), 2602:81f:6000::35 (alternate) and the same template.

  8. Click Save, then check it works.

Do these steps for each network adapter that you use. Each adapter has its own setting.