8000 GitHub - Leev1s/FAK-DNS: AdguardHome rules based on dnsmasq-china-list aimed to resolve the f**king China DNS hijacking.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

AdguardHome rules based on dnsmasq-china-list aimed to resolve the f**king China DNS hijacking.

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE-WTFPL
Notifications You must be signed in to change notification settings

Leev1s/FAK-DNS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FAK-DNS for AdGuard Home

AdGuard Home 中国特定配置,使用您最喜爱的 DNS 服务器
提高国内域名解析速度,全力避免 DNS 污染

Stars MIT License GitHub Actions Status Last Commit

📌 主要特点

  • 🧠 智能分流规则,国内域名走中国 DNS,国外保持原样
  • 🔄 自动同步上游规则,集成 GitHub Actions 自动更新
  • 📄 AdGuard Home 闪电⚡️导入

主要文件位于 converted 文件夹中:

文件名 描述
FAK-DNS.txt 综合优化后的主规则文件(推荐使用)
accelerated-domains.china.conf.txt 针对中国大陆优化的常用域名
google.china.conf.txt Google 中国服务域名加速(实验性)
apple.china.conf.txt Apple 服务加速(遇到问题可选择性关闭)

⚙️ 使用说明

本项目基于 felixonmars/dnsmasq-china-list 自动同步规则,并通过 GitHub Actions 转换为 AdGuard Home 支持的格式。

  • 默认设置:
    • 国内请求走 阿里 DoH
    • 国外请求走 Cloudflare DoH
    • 自动合并 Google / Apple / 中国域名加速规则

👉 直接下载地址:

https://raw.githubusercontent.com/Leev1s/FAK-DNS/master/converted/FAK-DNS.txt

📥 配置 AdGuard Home

  1. 下载生成的 FAK-DNS.txt 文件
  2. 放入 AdGuard Home 目录(一般为 /opt/AdGuardHome/
  3. 修改 AdGuardHome.yaml,添加以下配置:
dns:
  upstream_dns_file: /opt/AdGuardHome/FAK-DNS.txt
  1. 重启 AdGuard Home

✏️ 自定义配置

  1. Fork 本仓库
  2. 修改 settings/variables/actions Repository variables 中的 CN_DNSTHE_DNS,每行填写一个 DNS(DoH/DoT/QUIC/IP均可, CN_DNS填写您喜欢的国内DNS提供商,THE_DNS填写您信任的海外DNS提供商
  3. 通过 Github Actions,生成你专属的规则文件

🧾 License

This project contains code under multiple licenses.

  • Original code from upstream repo is licensed under the WTFPL.
  • All modifications and additions by Lev1s are licensed under the MIT License. See LICENSE.

🌟 Star 一下?

如果你觉得这个项目对你有用,请给我一个小小的 Star

👉 https://github.com/Leev1s/FAK-DNS

About

AdguardHome rules based on dnsmasq-china-list aimed to resolve the f**king China DNS hijacking.

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE-WTFPL

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 65.4%
  • Makefile 18.0%
  • Shell 10.0%
  • Python 6.6%
0