Skip to content

Instantly share code, notes, and snippets.

@mikaeldui
Last active February 11, 2022 08:40
Show Gist options
  • Save mikaeldui/bb33379023e08e3883512538b7d3dcee to your computer and use it in GitHub Desktop.
Save mikaeldui/bb33379023e08e3883512538b7d3dcee to your computer and use it in GitHub Desktop.
Add 1.1.1.1 for Families to Windows 11
# From https://developers.cloudflare.com/1.1.1.1/1.1.1.1-for-families
# After running this the templates will be available under hardware properties in the settings.
# Run as admin!
# Block malware
Add-DnsClientDohServerAddress 1.1.1.2 https://security.cloudflare-dns.com/dns-query
Add-DnsClientDohServerAddress 1.0.0.2 https://security.cloudflare-dns.com/dns-query
Add-DnsClientDohServerAddress 2606:4700:4700::1112 https://security.cloudflare-dns.com/dns-query
Add-DnsClientDohServerAddress 2606:4700:4700::1002 https://security.cloudflare-dns.com/dns-query
# Block malware and adult content
Add-DnsClientDohServerAddress 1.1.1.3 https://family.cloudflare-dns.com/dns-query
Add-DnsClientDohServerAddress 1.0.0.3 https://family.cloudflare-dns.com/dns-query
Add-DnsClientDohServerAddress 2606:4700:4700::1113 https://family.cloudflare-dns.com/dns-query
Add-DnsClientDohServerAddress 2606:4700:4700::1003 https://family.cloudflare-dns.com/dns-query
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment