How to Configure Static IP and DoH in Windows 11
Configuring a static IP address ensures your Windows 11 PC maintains a fixed address on your local network, while enabling DNS over HTTPS (DoH) encrypts your domain lookup requests for enhanced privacy and security. This guide provides a straightforward walkthrough on how to assign a static IP address and enable encrypted DNS using native Windows 11 settings.
How to Set a Static IP Address in Windows 11
- Open Network Settings: Press
Windows Key + Ito open Settings, then click on Network & internet in the left sidebar. - Select Your Connection: Click on either Ethernet or Wi-Fi (depending on your active connection). If using Wi-Fi, click on Manage known networks and select your current network.
- Edit IP Settings: Scroll to IP assignment and click the Edit button next to it.
- Switch to Manual: Change the dropdown menu from Automatic (DHCP) to Manual.
- Enable IPv4: Toggle the IPv4 switch to On.
- Enter IP Details:
- IP address: Enter the desired static IP address
(e.g.,
192.168.1.150). - Subnet prefix length: Enter
24for a standard255.255.255.0subnet mask. - Gateway: Enter your router’s IP address (e.g.,
192.168.1.1).
- IP address: Enter the desired static IP address
(e.g.,
- Save Changes: Click Save to apply the static IP configuration.
How to Configure DNS over HTTPS (DoH) in Windows 11
- Open Connection Properties: Navigate back to Settings > Network & internet > Ethernet (or Wi-Fi).
- Edit DNS Settings: Scroll to DNS server assignment and click Edit.
- Set to Manual: Select Manual from the dropdown menu, then toggle IPv4 to On.
- Enter DNS Providers Supporting DoH:
- Preferred DNS: Enter a DoH-compatible DNS provider
IP:
- Cloudflare:
1.1.1.1(Alternate:1.0.0.1) - Google:
8.8.8.8(Alternate:8.8.4.4) - Quad9:
9.9.9.9(Alternate:149.112.112.112)
- Cloudflare:
- Preferred DNS: Enter a DoH-compatible DNS provider
IP:
- Enable Encryption:
- Under Preferred DNS encryption, select Encrypted only (DNS over HTTPS).
- Repeat the process for the Alternate DNS and set its encryption to Encrypted only (DNS over HTTPS).
- Save Changes: Click Save.
Your network connection is now configured with a dedicated static IP address and all outgoing DNS queries are fully encrypted using DNS over HTTPS.