Skip to content

Geosite db

Domain membership database sourced from geosite YAML or binary geosite.dat.

Fields

tag

  • Type: string
  • Required: yes

Unique tag, also used as the inbound tag of download connections.

url

  • Type: string
  • Required: no
  • Default: https://github.com/v2fly/domain-list-community/releases/latest/download/dlc.dat_plain.yml

HTTP(S) source URL. Used only when path does not exist. Defaults to the v2fly domain-list-community database in YAML format. The binary protobuf geosite.dat is also accepted; the format is detected from the downloaded contents.

list-include

  • Type: list of string
  • Required: no
  • Default: (type default)

Base domain sets to import, matched case insensitively. Empty imports all sets.

path

  • Type: path
  • Required: yes

Persistent converted redb file, relative to the working directory. Cost about 16m for full geosite db. 1Mb for only cn list.

cache-size

  • Type: usize
  • Required: no
  • Default: 4 * 1024 * 1024

redb page-cache budget in bytes. Defaults to 4 MiB; zero disables caching.