Skip to content

zimbabwe303/domain-list-ru_direct

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

domain-list-ru_direct

A basic, simplified list of Russian domains intended for use in XTLS/Xray/V2Ray client config.json (direct routing rule).

Based on the domain-list-community project.

Usage example (client config.json)

  "routing": {
      "domainStrategy": "IPOnDemand",
          "rules": [
              {
                  "domainMatcher": "hybrid",
                  "type": "field",
                  "domain": [  // domains to go direct
                      "ext:direct.dat:all"
                    ],
              "outboundTag": "direct"
          }
      ]
  }

Compilation

  git clone https://github.com/zimbabwe303/domain-list-ru_direct.git
  cd domain-list-ru_direct
  go build
  ./domain-list-direct

Sing-Box

Sing-Box/NekoRay/NekoBox (and possibly also Clash.Meta) do not support .dat files directly, you have to convert it to MMDB (.db) using this tool: https://github.com/MetaCubeX/geo.git

Command line: geo convert site -i v2ray -o sing direct.dat

Rename the resulting file to geosite.db, put it into the sing-box/nekoray executable directory and add the rules (e.g. geosite:all).

The latest versions of sing-box now recommend using their own .srs binary rule-set format which is compiled from the human-readable .json. To convert .db to .json use the following commands:

sing-box geosite export <category>
sing-box geoip export <category>

Then you can convert .json to .srs (you can use .json directly but it is much slower than .srs):

sing-box rule-set compile <file.json>

Pre-compiled files

Pre-compiled files (including the v2fly geoip.dat) can be found in the "compiled" directory. Pre-compiled files for sing-box are in the "compiled/sing-box" directory.

About

Basic list of Russian domains (for V2Ray direct route)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 52.6%
  • JavaScript 44.3%
  • Shell 3.1%