v2fly /domain-list-community
Community managed domain list. Generate geosite.dat for V2Ray.
★ 9,912⑂ 1,486👁 74⑃ 3,669● 582▤ 2,855
More from this author
+6
Daily
9,912
stars
1,486
forks
74
watchers
3,669
prs
582
issues
2,855
releases
README
Domain list community
This project manages a list of domains, to be used as geosites for routing purposes in Project V.
Purpose of this project
This project is not opinionated. In other words, it does NOT endorse, claim or imply that a domain should be blocked or proxied. It can be used to generate routing rules on demand.
Download links
- dlc.dat:https://github.com/v2fly/domain-list-community/releases/latest/download/dlc.dat
- dlc.dat.sha256sum:https://github.com/v2fly/domain-list-community/releases/latest/download/dlc.dat.sha256sum
- dlc.dat_plain.yml:https://github.com/v2fly/domain-list-community/releases/latest/download/dlc.dat_plain.yml
- dlc.dat_plain.yml.sha256sum:https://github.com/v2fly/domain-list-community/releases/latest/download/dlc.dat_plain.yml.sha256sum
Notice
- Rules with @!cn attribute have been cast out from cn lists. geosite:geolocation-cn@!cn is no longer available. Check 390, 3119 and 3198 for more information.
- Dedicated non-category ad lists like geosite:xxx-ads have been removed. Use geosite:xxx@ads instead. geosite:category-ads[-xx] is not affected.
Please report if you have any problems or questions.
Usage example
Each file in the data directory can be used as a rule in this format: geosite:filename.
json
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"type": "field",
"outboundTag": "Reject",
"domain": [
"geosite:category-ads-all",
"geosite:category-porn"
]
},
{
"type": "field",
"outboundTag": "Direct",
"domain": [
"domain:icloud.com",
"domain:icloud-content.com",
"domain:cdn-apple.com",
"geosite:cn",
"geosite:private"
]
},
{
"type": "field",
"outboundTag": "Proxy-1",
"domain": [
"geosite:category-anticensorship",
"geosite:category-media",
"geosite:category-vpnservices"
]
},
{
"type": "field",
"outboundTag": "Proxy-2",
"domain": [
"geosite:category-dev"
]
},
{
"type": "field",
"outboundTag": "Proxy-3",
"domain": [
"geosite:geolocation-!cn"
]
}
]
}
Generate dlc.dat manually
- Install golang and git
- Clone project code: git clone https://github.com/v2fly/domain-list-community.git
- Navigate to project root directory: cd domain-list-community
- Install project dependencies: go mod download
- Generate dlc.dat (without datapath option means to use domain lists in data directory of current working directory):
- go run ./
- go run ./ --datapath=/path/to/your/custom/data/directory
Run go run ./ --help for more usage information.
For anyone who wants to generate custom .dat files, you may read 3370.
Structure of data
All data are under data directory. Each file in the directory represents a sub-list of domains, named by the file name. File content is in the following format.
comments
include:another-file
domain:google.com @attTop issues
#28关于域名分类数据的讨论21 comments · 2020-07-21#390关于 @attr 的语法扩展18 comments · 2021-01-30#3727Remove: domains with invalid filing info / unused13 comments · 2026-06-12#3990Analytics domains are marked as ads9 comments · 2026-08-25#2104gemini 规则添加8 comments · 2024-04-02#2228google@cn需要去掉full:6 comments · 2024-07-08#4226apple: 23 unrelated third-party domains in data/beats and data/apple4 comments · 2026-10-31#4188Add `Deepshi`4 comments · 2026-10-24
Discussions
#4061关于部分 googleapis 与 gstatic 子域名的地理位置0 comments · 2026-09-15#3876geolocation-cn 失效了!!! 是bug还是改写法了?1 comments · 2026-07-27#3832Category for different adult content1 comments · 2026-07-11#3677跨国运营商的地域特化站点是用各地的缩写 attr 比较好还是分开设立多份config比较好?1 comments · 2026-06-04#3370Tricks to generate custom geosite dat files0 comments · 2026-03-18#3094GeodatExplorer — GUI tool for browsing geosite.dat and geoip.dat files0 comments · 2025-12-20#2603geosite for riotgames1 comments · 2025-04-02#2086anthropic,Unable to take effect0 comments · 2024-03-17
Latest release
20261115151618 20261115151618 2026-11-15What's Changed remnawave: add remna.dev by @MakostaDev in https://github.com/v2fly/domain-list-community/pull/4293 Full Changelog: https://github.com/v2fly/domain-list-community/compare/20261115151329...20261115151618