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

51 lines
No EOL
1.9 KiB
Markdown

# cloudflare-gateway-ad
[![main](https://git.xlion.tw/infra/cloudflare-gateway-ad/badges/workflows/main.yml/badge.svg)](https://git.xlion.tw/infra/cloudflare-gateway-ad/actions?workflow=main.yml)
Use this small program to make Cloudflare Gateway as a DNS filter:
https://github.com/mrrfv/cloudflare-gateway-pihole-scripts ([Mirror](https://git.xlion.tw/gh-mirror/cloudflare-gateway-pihole-scripts))
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](https://git.xlion.tw/infra/cloudflare-gateway-ad/raw/branch/main/xlion-cloudflare-gateway-doh.mobileconfig)
### DoH: DNS over HTTPS
```text
https://kg4xyyyedx.cloudflare-gateway.com/dns-query
```
Use for: Most browser, some routers, Windows 11
### DoT: DNS over TLS
```text
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](https://github.com/hagezi/dns-blocklists/)
* Multi Pro