mirror of
https://github.com/v2fly/domain-list-community.git
synced 2026-01-12 09:43:59 +07:00
A domain rule is always added to the list corresponding to the filename it resides in. Additionally, you can now add affiliations to a domain rule, and the rule will be added to the list specified by the affiliation. Each affiliation begins with `&` and followed by the name of the affiliation. For example, when you can add a single rule `youtube.com &youtube &category-entertainment` in file `data/google`. Then `geosite:google`, `geosite:youtube` and `geosite:category-entertainment` all contain `[domain:]youtube.com` (even if files `data/youtube` and `data/category-entertainment` do not exist). This helps us to reduce the number of data files without compromising functionality, and avoid writing a same rule in different files.
10 KiB
10 KiB