Skip to content

Instantly share code, notes, and snippets.

@richeney
Last active January 22, 2024 05:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save richeney/b01634a7bd306d5420bbff178b1873bf to your computer and use it in GitHub Desktop.
Save richeney/b01634a7bd306d5420bbff178b1873bf to your computer and use it in GitHub Desktop.
Cloudflare DNS over HTTPS

DNS over HTTPS

Settings | Network & Internet | Ethernet/WiFi | DNS server assignment | Edit

Add automatic templates:

netsh dns add encryption server=1.1.1.3 dohtemplate=https://cloudflare-dns.com/dns-query
netsh dns add encryption server=1.0.0.3 dohtemplate=https://cloudflare-dns.com/dns-query
netsh dns add encryption server=2606:4700:4700::1113 dohtemplate=https://cloudflare-dns.com/dns-query
netsh dns add encryption server=2606:4700:4700::1003 dohtemplate=https://cloudflare-dns.com/dns-query

Elevated permissions needed. Or just specify manual template:

https://cloudflare-dns.com/dns-query

List of Cloudflare DNS

Description IPv4 IPv6
Standard 1.1.1.1 2606:4700:4700::1111
1.0.0.1 2606:4700:4700::1001
Block malware 1.1.1.2 2606:4700:4700::1112
1.0.0.2 2606:4700:4700::1002
Block malware & adult 1.1.1.3 2606:4700:4700::1113
1.0.0.3 2606:4700:4700::1003
--- --- ---

Automatic template in place for 1.1.1.1 only.

netsh dns show encryption

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment