cloudflare-gateway-ad/README.md
xlionjuan fafc4e4dc3
All checks were successful
Update Filter Lists / cgps (push) Successful in 7m53s
Update README.md
2026-02-10 19:21:50 +00:00

1.9 KiB

cloudflare-gateway-ad

main

Use this small program to make Cloudflare Gateway as a DNS filter: https://github.com/mrrfv/cloudflare-gateway-pihole-scripts (Mirror)

I mostly using this for my friends or neighbors that I don't need to worry about if my self-hosted AdGuard Home is down, and I can still have the ability to control the DNS filters that they're using for good faith.

Setup

Apple

Use Safari to open:

Apple DoH Profile

DoH: DNS over HTTPS

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

Use for: Most browser, some routers, Windows 11

DoT: DNS over TLS

kg4xyyyedx.cloudflare-gateway.com

Use for: Android Private DNS, systemd-resolved

DoT is not suggested when DoH option available, some ridiculous public WiFi will block almost all internet protocols besides HTTP and DNS.

Lists

Because the limitation of 300,000 domains, the AD/Privacy blocklist coverage isn't great, but fine for lots of cases.

For URLs, see:

https://git.xlion.tw/infra/cloudflare-gateway-ad/src/branch/main/.forgejo/workflows/main.yml

  • Cloudflare Gateway built-in categories 1:
    • Command and Control & Botnet, Cryptomining, DGA Domains, DNS Tunneling, Malware, Phishing, Spam, Spyware, Brand Embedding, Compromised Domain
    • Block reason will say: General Security
  • Cloudflare Gateway built-in categories 2:
    • Security Risks, New Domains(NRD), Newly Seen Domains, Parked & For Sale Domains
    • Block reason will say: NRD/Newly Seen
  • HaGeZi's
    • Multi Pro